mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Update text in program help
This commit is contained in:
parent
54aa971a6b
commit
69df38dfd4
6
nnn.1
6
nnn.1
|
@ -55,7 +55,7 @@ supports the following options:
|
||||||
indicates that the opener is a cli-only opener (overrides -e)
|
indicates that the opener is a cli-only opener (overrides -e)
|
||||||
.Pp
|
.Pp
|
||||||
.Fl C
|
.Fl C
|
||||||
earlier colorscheme - color directories by context, disable file colors
|
8-color scheme - color directories by context, disable file colors
|
||||||
.Pp
|
.Pp
|
||||||
.Fl d
|
.Fl d
|
||||||
detail mode
|
detail mode
|
||||||
|
@ -463,8 +463,8 @@ separated by \fI;\fR:
|
||||||
------------------------- + --- + -------------
|
------------------------- + --- + -------------
|
||||||
|
|
||||||
If the terminal supports xterm 256 colors or more, file-specific colors will be rendered.
|
If the terminal supports xterm 256 colors or more, file-specific colors will be rendered.
|
||||||
To force the earlier colorscheme use option -C.
|
To force the 8-color scheme use option -C.
|
||||||
If xterm 256 colors aren't supported, earlier colorscheme will be used.
|
If xterm 256 colors aren't supported, 8-color scheme will be used.
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
\fBNNN_ARCHIVE:\fR archive extensions to be handled silently (default: bzip2, (g)zip, tar).
|
\fBNNN_ARCHIVE:\fR archive extensions to be handled silently (default: bzip2, (g)zip, tar).
|
||||||
|
|
10
src/nnn.c
10
src/nnn.c
|
@ -2721,7 +2721,7 @@ static void showfilterinfo(void)
|
||||||
i = getorderstr(info);
|
i = getorderstr(info);
|
||||||
|
|
||||||
snprintf(info + i, REGEX_MAX - i - 1, " %s [/], %s [:]",
|
snprintf(info + i, REGEX_MAX - i - 1, " %s [/], %s [:]",
|
||||||
(cfg.regex ? "regex" : "str"),
|
(cfg.regex ? "reg" : "str"),
|
||||||
((fnstrstr == &strcasestr) ? "ic" : "noic"));
|
((fnstrstr == &strcasestr) ? "ic" : "noic"));
|
||||||
|
|
||||||
clearinfoln();
|
clearinfoln();
|
||||||
|
@ -7425,16 +7425,16 @@ static void usage(void)
|
||||||
" -A no dir auto-select\n"
|
" -A no dir auto-select\n"
|
||||||
" -b key open bookmark key (trumps -s/S)\n"
|
" -b key open bookmark key (trumps -s/S)\n"
|
||||||
" -c cli-only NNN_OPENER (trumps -e)\n"
|
" -c cli-only NNN_OPENER (trumps -e)\n"
|
||||||
" -C earlier colorscheme\n"
|
" -C 8-color scheme\n"
|
||||||
" -d detail mode\n"
|
" -d detail mode\n"
|
||||||
" -D dirs in context color\n"
|
" -D dirs in context color\n"
|
||||||
" -e text in $VISUAL/$EDITOR/vi\n"
|
" -e text in $VISUAL/$EDITOR/vi\n"
|
||||||
" -E use EDITOR for undetached edits\n"
|
" -E internal edits in EDITOR\n"
|
||||||
#ifndef NORL
|
#ifndef NORL
|
||||||
" -f use readline history file\n"
|
" -f use readline history file\n"
|
||||||
#endif
|
#endif
|
||||||
" -F show fortune\n"
|
" -F show fortune\n"
|
||||||
" -g regex filters [default: string]\n"
|
" -g regex filters\n"
|
||||||
" -H show hidden files\n"
|
" -H show hidden files\n"
|
||||||
" -J no auto-proceed on select\n"
|
" -J no auto-proceed on select\n"
|
||||||
" -K detect key collision\n"
|
" -K detect key collision\n"
|
||||||
|
@ -7459,7 +7459,7 @@ static void usage(void)
|
||||||
" -V show version\n"
|
" -V show version\n"
|
||||||
" -w place HW cursor on hovered\n"
|
" -w place HW cursor on hovered\n"
|
||||||
#ifndef NOX11
|
#ifndef NOX11
|
||||||
" -x notis, sel to clipboard, xterm title\n"
|
" -x notis, selection sync, xterm title\n"
|
||||||
#endif
|
#endif
|
||||||
" -h show help\n\n"
|
" -h show help\n\n"
|
||||||
"v%s\n%s\n", __func__, VERSION, GENERAL_INFO);
|
"v%s\n%s\n", __func__, VERSION, GENERAL_INFO);
|
||||||
|
|
Loading…
Reference in a new issue