From 61ad921fa290b4ce8e306a7503415ae90d4696e9 Mon Sep 17 00:00:00 2001 From: Marcel Rodrigues Date: Fri, 19 Jun 2015 20:29:36 -0300 Subject: [PATCH] Use more conventional syntax for usage help. --- rover.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rover.c b/rover.c index 0663553..b18b1e0 100644 --- a/rover.c +++ b/rover.c @@ -816,12 +816,12 @@ main(int argc, char *argv[]) return 0; } else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { printf( - "Usage: rover [(-s|--save-cwd) FILE] [DIR [DIR [DIR [...]]]]\n" + "Usage: rover [-s|--save-cwd FILE] [DIR [DIR [DIR [...]]]]\n" " Browse current directory or the ones specified.\n" " If FILE is given, write last visited path to it.\n\n" - " or: rover (-h|--help)\n" + " or: rover -h|--help\n" " Print this help message and exit.\n\n" - " or: rover (-v|--version)\n" + " or: rover -v|--version\n" " Print program version and exit.\n\n" "See rover(1) for more information.\n\n" "Rover homepage: .\n" -- 2.11.4.GIT