Skip to content

Commit

Permalink
fixed -g option in src/video2x.c and help message for libplacebo
Browse files Browse the repository at this point in the history
Signed-off-by: Neo_Chen <chenkolei@gmail.com>
  • Loading branch information
NeoChen1024 committed Oct 26, 2024
1 parent 747d85c commit 9cb1eab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video2x.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void parse_arguments(int argc, char **argv, struct arguments *arguments) {
arguments->scaling_factor = 0;

while ((c = getopt_long(
argc, argv, "i:o:f:a:c:x:p:b:q:s:w:h:r:m:v", long_options, &option_index
argc, argv, "i:o:f:a:c:x:p:b:q:s:w:h:r:m:g:v", long_options, &option_index
)) != -1) {
switch (c) {
case 'i':
Expand Down Expand Up @@ -337,7 +337,7 @@ void parse_arguments(int argc, char **argv, struct arguments *arguments) {
fprintf(
stderr,
"Error: For libplacebo, shader name/path (-s), width (-w), "
"and height (-e) are required.\n"
"and height (-h) are required.\n"
);
exit(1);
}
Expand Down

0 comments on commit 9cb1eab

Please sign in to comment.