Use a concise help

This commit is contained in:
Arun Prakash Jana 2019-01-17 20:59:30 +05:30
parent 63f5abd054
commit bf6419d6af
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 16 additions and 16 deletions

View file

@ -208,15 +208,15 @@ positional args:
PATH start dir [default: current dir] PATH start dir [default: current dir]
optional args: optional args:
-b key bookmark key to open -b key open bookmark key
-C disable directory color -C disable directory color
-e use exiftool instead of mediainfo -e use exiftool for media info
-i start in navigate-as-you-type mode -i nav-as-you-type mode
-l start in light mode -l light mode
-p file copy selection to file (stdout if '-') -p file selection file (stdout if '-')
-S start in disk usage analyser mode -S disk usage mode
-v show program version -v show version
-h show this help -h show help
``` ```
`>` indicates the currently selected entry in `nnn`. `>` indicates the currently selected entry in `nnn`.

View file

@ -3602,15 +3602,15 @@ static void usage(void)
"positional args:\n" "positional args:\n"
" PATH start dir [default: current dir]\n\n" " PATH start dir [default: current dir]\n\n"
"optional args:\n" "optional args:\n"
" -b key bookmark key to open\n" " -b key open bookmark key\n"
" -C disable directory color\n" " -C disable directory color\n"
" -e use exiftool instead of mediainfo\n" " -e use exiftool for media info\n"
" -i start in navigate-as-you-type mode\n" " -i nav-as-you-type mode\n"
" -l start in light mode\n" " -l light mode\n"
" -p file copy selection to file (stdout if '-')\n" " -p file selection file (stdout if '-')\n"
" -S start in disk usage analyser mode\n" " -S disk usage mode\n"
" -v show program version\n" " -v show version\n"
" -h show this help\n\n" " -h show help\n\n"
"Version: %s\n%s\n", VERSION, GENERAL_INFO); "Version: %s\n%s\n", VERSION, GENERAL_INFO);
} }