Skip to content

Commit

Permalink
remove -h and -w short options (conflict with help)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmellado committed Jan 26, 2024
1 parent 5af8c01 commit 880e5dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ PoncaPlotCLI::run(int argc, char **argv) {
{
program.add_argument("-o", "--output")
.help("output file (image)");
program.add_argument("-w", "--width")
program.add_argument("--width")
.help("output image width (in pixels)")
.default_value(params.output.width);
program.add_argument("-h", "--height")
program.add_argument("--height")
.help("output image height (in pixels)")
.default_value(params.output.height);
}
Expand Down

0 comments on commit 880e5dd

Please sign in to comment.