Skip to content

Commit 3fe6ffc

Browse files
committed
[cli] Fix missing default for some flags.
1 parent 43a02d1 commit 3fe6ffc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scenedetect/_cli/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,15 @@ def _print_command_help(ctx: click.Context, command: click.Command):
209209
"--drop-short-scenes",
210210
is_flag=True,
211211
flag_value=True,
212+
default=None,
212213
help="Drop scenes shorter than -m/--min-scene-len, instead of combining with neighbors.%s"
213214
% (USER_CONFIG.get_help_string("global", "drop-short-scenes")),
214215
)
215216
@click.option(
216217
"--merge-last-scene",
217218
is_flag=True,
218219
flag_value=True,
220+
default=None,
219221
help="Merge last scene with previous if shorter than -m/--min-scene-len.%s"
220222
% (USER_CONFIG.get_help_string("global", "merge-last-scene")),
221223
)

0 commit comments

Comments
 (0)