commit - fd3ff67de14571e565ee0132de6a7f349db96bfc
commit + 0c744dfb09f1f689c88b6ca578d256a9ebd056ea
blob - 7761579094e5522f907825733d16cef4ed1eb041
blob + 066355373513521986d8fdad56ca8ce457860e52
--- rover.c
+++ rover.c
return 0;
} else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) {
printf(
- "Usage: rover [DIRECTORY [DIRECTORY [DIRECTORY [...]]]]\n"
- " or: rover [OPTION]\n"
- "Browse current working directory or the ones specified.\n\n"
- "Options:\n"
- " -h, --help print this help message and exit\n"
- " -v, --version print program version and exit\n\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"
+ " 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"
"Rover homepage: <https://github.com/lecram/rover>.\n"
);