Skip to content

Commit 68041ce

Browse files
committed
fix help formatting and bump version
1 parent e18a23c commit 68041ce

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "highlight_video_maker"
3-
version = "0.0.1"
3+
version = "0.0.2"
44
authors = [{ name = "Micha Albert", email = "[email protected]" }]
55
description = "A utility to take several video inputs, take the loudest points, and create a compilation of them"
66
readme = "README.md"

src/highlight_video_maker/main.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
default="INFO",
2121
type=str,
2222
required=False,
23-
metavar="Sets the logging verbosity. Choose between"
23+
help="Sets the logging verbosity. Choose between"
2424
"DEBUG, INFO (default), WARNING, ERROR, or CRITICAL."
2525
"Can be uppercase or lowercase.",
2626
)
@@ -119,12 +119,12 @@ def get_amplitude_of_segment(clip: Path):
119119
@cli.command()
120120
@click.option(
121121
"--input-dir",
122-
metavar="The input directory to get the source videos from.",
122+
help="The input directory to get the source videos from.",
123123
type=click.Path(exists=True, resolve_path=True, path_type=Path),
124124
)
125125
@click.option(
126126
"--watermark-image",
127-
metavar="The path of the watermark image "
127+
help="The path of the watermark image "
128128
"to overlay over the final output. "
129129
"It must exist. "
130130
"It will not be scaled, so it should be "
@@ -133,14 +133,14 @@ def get_amplitude_of_segment(clip: Path):
133133
)
134134
@click.option(
135135
"--horiz-output-file",
136-
metavar="The path to output the final video to. "
136+
help="The path to output the final video to. "
137137
"It should not exist and must either be an absolute path "
138138
'or start with "./".',
139139
type=click.Path(exists=False, resolve_path=True, path_type=Path),
140140
)
141141
@click.option(
142142
"--vert-output-file",
143-
metavar="The path to output the final video to. "
143+
help="The path to output the final video to. "
144144
"It should not exist and must either be an absolute path "
145145
'or start with "./".',
146146
type=click.Path(exists=False, resolve_path=True, path_type=Path),

0 commit comments

Comments
 (0)