Update program help

This commit is contained in:
Arun Prakash Jana 2018-08-16 20:35:57 +05:30
parent 6987b3c4bc
commit 9d3f75f63b
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 7 additions and 7 deletions

View file

@ -184,17 +184,17 @@ usage: nnn [-b key] [-c N] [-e] [-i] [-l]
The missing terminal file manager for X. The missing terminal file manager for X.
positional arguments: positional args:
PATH start dir [default: current dir] PATH start dir [default: current dir]
optional arguments: optional args:
-b key specify bookmark key to open -b key specify bookmark key to open
-c N specify dir color, disables if N>7 -c N specify dir color, disables if N>7
-e use exiftool instead of mediainfo -e use exiftool instead of mediainfo
-i start in navigate-as-you-type mode -i start in navigate-as-you-type mode
-l start in light mode (fewer details) -l start in light mode
-p nlay path to custom nlay -p nlay path to custom nlay
-S start in disk usage analyzer mode -S start in disk usage analyser mode
-v show program version and exit -v show program version and exit
-h show this help and exit -h show this help and exit
``` ```

6
nnn.c
View file

@ -3335,14 +3335,14 @@ usage(void)
printf("usage: nnn [-b key] [-c N] [-e] [-i] [-l]\n" printf("usage: nnn [-b key] [-c N] [-e] [-i] [-l]\n"
" [-p nlay] [-S] [-v] [-h] [PATH]\n\n" " [-p nlay] [-S] [-v] [-h] [PATH]\n\n"
"The missing terminal file manager for X.\n\n" "The missing terminal file manager for X.\n\n"
"positional arguments:\n" "positional args:\n"
" PATH start dir [default: current dir]\n\n" " PATH start dir [default: current dir]\n\n"
"optional arguments:\n" "optional args:\n"
" -b key specify bookmark key to open\n" " -b key specify bookmark key to open\n"
" -c N specify dir color, disables if N>7\n" " -c N specify dir color, disables if N>7\n"
" -e use exiftool instead of mediainfo\n" " -e use exiftool instead of mediainfo\n"
" -i start in navigate-as-you-type mode\n" " -i start in navigate-as-you-type mode\n"
" -l start in light mode (fewer details)\n" " -l start in light mode\n"
" -p nlay path to custom nlay\n" " -p nlay path to custom nlay\n"
" -S start in disk usage analyser mode\n" " -S start in disk usage analyser mode\n"
" -v show program version and exit\n" " -v show program version and exit\n"