Spaces:
Running
Running
feat: test
Browse files- facefusion/program.py +1 -1
facefusion/program.py
CHANGED
@@ -208,7 +208,7 @@ def create_program() -> ArgumentParser:
|
|
208 |
program = ArgumentParser(formatter_class = create_help_formatter_large, add_help = False)
|
209 |
program._positionals.title = 'commands'
|
210 |
program.add_argument('-v', '--version', version = metadata.get('name') + ' ' + metadata.get('version'), action = 'version')
|
211 |
-
|
212 |
sub_program = program.add_subparsers(dest = 'command')
|
213 |
# general
|
214 |
sub_program.add_parser('run', help = wording.get('help.run'), parents = [ collect_step_program(), create_uis_program(), collect_job_program() ], formatter_class = create_help_formatter_large)
|
|
|
208 |
program = ArgumentParser(formatter_class = create_help_formatter_large, add_help = False)
|
209 |
program._positionals.title = 'commands'
|
210 |
program.add_argument('-v', '--version', version = metadata.get('name') + ' ' + metadata.get('version'), action = 'version')
|
211 |
+
program.add_argument('command', nargs='?', default='run', help='The command to execute.')
|
212 |
sub_program = program.add_subparsers(dest = 'command')
|
213 |
# general
|
214 |
sub_program.add_parser('run', help = wording.get('help.run'), parents = [ collect_step_program(), create_uis_program(), collect_job_program() ], formatter_class = create_help_formatter_large)
|