Skip to content

Commit

Permalink
Implement the long version of the -v flag
Browse files Browse the repository at this point in the history
Rdrview currently fails if it sees the "--version" option, which is
documented as the long form of "-v". I simply forgot to implement it,
so do it now.
  • Loading branch information
eafer committed Dec 23, 2020
1 parent 57312c8 commit 7be01fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rdrview.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ static const char *OPTSTRING = "cu:vB:E:A:HMT:";
static const struct option LONGOPTS[] = {
{"check", no_argument, NULL, 'c'},
{"base", required_argument, NULL, 'u'},
{"version", no_argument, NULL, 'v'},
{"browser", required_argument, NULL, 'B'},
{"encoding", required_argument, NULL, 'E'},
{"agent", required_argument, NULL, 'A'},
Expand Down

0 comments on commit 7be01fb

Please sign in to comment.