20
20
default = "INFO" ,
21
21
type = str ,
22
22
required = False ,
23
- metavar = "Sets the logging verbosity. Choose between"
23
+ help = "Sets the logging verbosity. Choose between"
24
24
"DEBUG, INFO (default), WARNING, ERROR, or CRITICAL."
25
25
"Can be uppercase or lowercase." ,
26
26
)
@@ -119,12 +119,12 @@ def get_amplitude_of_segment(clip: Path):
119
119
@cli .command ()
120
120
@click .option (
121
121
"--input-dir" ,
122
- metavar = "The input directory to get the source videos from." ,
122
+ help = "The input directory to get the source videos from." ,
123
123
type = click .Path (exists = True , resolve_path = True , path_type = Path ),
124
124
)
125
125
@click .option (
126
126
"--watermark-image" ,
127
- metavar = "The path of the watermark image "
127
+ help = "The path of the watermark image "
128
128
"to overlay over the final output. "
129
129
"It must exist. "
130
130
"It will not be scaled, so it should be "
@@ -133,14 +133,14 @@ def get_amplitude_of_segment(clip: Path):
133
133
)
134
134
@click .option (
135
135
"--horiz-output-file" ,
136
- metavar = "The path to output the final video to. "
136
+ help = "The path to output the final video to. "
137
137
"It should not exist and must either be an absolute path "
138
138
'or start with "./".' ,
139
139
type = click .Path (exists = False , resolve_path = True , path_type = Path ),
140
140
)
141
141
@click .option (
142
142
"--vert-output-file" ,
143
- metavar = "The path to output the final video to. "
143
+ help = "The path to output the final video to. "
144
144
"It should not exist and must either be an absolute path "
145
145
'or start with "./".' ,
146
146
type = click .Path (exists = False , resolve_path = True , path_type = Path ),
0 commit comments