login

<     >

2016-01-30 10:54:32 (UTC-02:00)

Marcel Rodrigues <marcelgmr@gmail.com>

Remove cruft from usage text.

diff --git a/rover.c b/rover.c
index ef44d7b..0d83273 100644
--- a/rover.c
+++ b/rover.c
@@ -948,17 +948,13 @@ main(int argc, char *argv[])
             return 0;
         } else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) {
             printf(
-                "Usage: rover"
-                " [-d|--save-cwd FILE]"
-                " [-m|--save-marks 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"
+                "Usage: rover [OPTIONS] [DIR [DIR [...]]]\n"
+                "       Browse current directory or the ones specified.\n\n"
                 "  or:  rover -h|--help\n"
                 "       Print this help message and exit.\n\n"
                 "  or:  rover -v|--version\n"
                 "       Print program version and exit.\n\n"
-                "See rover(1) for more information.\n\n"
+                "See rover(1) for more information.\n"
                 "Rover homepage: <https://github.com/lecram/rover>.\n"
             );
             return 0;