Skip to content

Commit

Permalink
Update usage string
Browse files Browse the repository at this point in the history
When the -T option was added, and when the use of local paths was
allowed instead of urls, the usage string should have been updated
accordingly. I forgot, so do it now.
  • Loading branch information
eafer committed Dec 23, 2020
1 parent ef69dd9 commit 57312c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rdrview.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ __attribute__((noreturn)) void fatal_errno(void)
*/
static void usage(void)
{
char *args = "[-v] [-u base-url] [-E encoding] [-A user-agent] [-c|-H|-M|-B browser] [URL]";
char *args = "[-v] [-u base-url] [-E encoding] [-A user-agent] [-T template] [-c|-H|-M|-B browser] [path|url]";

fprintf(stderr, "usage: %s %s\n", progname, args);
exit(1);
Expand Down

0 comments on commit 57312c8

Please sign in to comment.