          """ Return the generated cli arguments for the selected command """
          for _, option in self.gen_command_options(command):
              optval = str(option["cpanel_option"].get())
              opt = option["opts"][0]
              if command in ("extract", "convert") and opt == "-o":
                  get_images().set_faceswap_output_path(optval)
              if optval in ("False", ""):
                  continue
              if optval == "True":
                  yield (opt, )
              else:
 
</s> remove         ctl_dict = dict()
 </s> add         ctl_dict = {} </s> remove             cmd_dict = dict()
 </s> add             cmd_dict = {} </s> remove     def default_font(self):
 </s> add     def default_font(self) -> Tuple[str, int]: </s> remove         for fname in self._previewcache["filenames"]:
 </s> add         for fname in cast(List[str], self._previewcache["filenames"]):
            if command in ("extract", "convert") and opt == "-o":  # Output location for preview
                output_dir = optval
            if command == "extract" and opt == "-b":               # Check for batch mode
                batch_mode = optval
          """ Return the generated cli arguments for the selected command """
          for _, option in self.gen_command_options(command):
              optval = str(option["cpanel_option"].get())
              opt = option["opts"][0]
            if command in ("extract", "convert") and opt == "-o":  # Output location for preview
                output_dir = optval
            if command == "extract" and opt == "-b":               # Check for batch mode
                batch_mode = optval
            if command in ("extract", "convert") and opt == "-o":  # Output location for preview
                output_dir = optval
            if command == "extract" and opt == "-b":               # Check for batch mode
                batch_mode = optval
              if optval in ("False", ""):
                  continue
              if optval == "True":
                  yield (opt, )
              else:
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/options.py