Skip to content

Commit

Permalink
[cli] Fix missing default for some flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Breakthrough committed Oct 20, 2024
1 parent 43a02d1 commit 3fe6ffc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scenedetect/_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,15 @@ def _print_command_help(ctx: click.Context, command: click.Command):
"--drop-short-scenes",
is_flag=True,
flag_value=True,
default=None,
help="Drop scenes shorter than -m/--min-scene-len, instead of combining with neighbors.%s"
% (USER_CONFIG.get_help_string("global", "drop-short-scenes")),
)
@click.option(
"--merge-last-scene",
is_flag=True,
flag_value=True,
default=None,
help="Merge last scene with previous if shorter than -m/--min-scene-len.%s"
% (USER_CONFIG.get_help_string("global", "merge-last-scene")),
)
Expand Down

0 comments on commit 3fe6ffc

Please sign in to comment.