commit 69df38dfd4f26c4c561d31179341f2f501ff8e93
parent 54aa971a6b1439d6f5b99add4bb66a429de09164
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Fri, 7 May 2021 10:39:02 +0530
Update text in program help
Diffstat:
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/nnn.1 b/nnn.1
@@ -55,7 +55,7 @@ supports the following options:
indicates that the opener is a cli-only opener (overrides -e)
.Pp
.Fl C
- earlier colorscheme - color directories by context, disable file colors
+ 8-color scheme - color directories by context, disable file colors
.Pp
.Fl d
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.
- To force the earlier colorscheme use option -C.
- If xterm 256 colors aren't supported, earlier colorscheme will be used.
+ To force the 8-color scheme use option -C.
+ If xterm 256 colors aren't supported, 8-color scheme will be used.
.Ed
.Pp
\fBNNN_ARCHIVE:\fR archive extensions to be handled silently (default: bzip2, (g)zip, tar).
diff --git a/src/nnn.c b/src/nnn.c
@@ -2721,7 +2721,7 @@ static void showfilterinfo(void)
i = getorderstr(info);
snprintf(info + i, REGEX_MAX - i - 1, " %s [/], %s [:]",
- (cfg.regex ? "regex" : "str"),
+ (cfg.regex ? "reg" : "str"),
((fnstrstr == &strcasestr) ? "ic" : "noic"));
clearinfoln();
@@ -7425,16 +7425,16 @@ static void usage(void)
" -A no dir auto-select\n"
" -b key open bookmark key (trumps -s/S)\n"
" -c cli-only NNN_OPENER (trumps -e)\n"
- " -C earlier colorscheme\n"
+ " -C 8-color scheme\n"
" -d detail mode\n"
" -D dirs in context color\n"
" -e text in $VISUAL/$EDITOR/vi\n"
- " -E use EDITOR for undetached edits\n"
+ " -E internal edits in EDITOR\n"
#ifndef NORL
" -f use readline history file\n"
#endif
" -F show fortune\n"
- " -g regex filters [default: string]\n"
+ " -g regex filters\n"
" -H show hidden files\n"
" -J no auto-proceed on select\n"
" -K detect key collision\n"
@@ -7459,7 +7459,7 @@ static void usage(void)
" -V show version\n"
" -w place HW cursor on hovered\n"
#ifndef NOX11
- " -x notis, sel to clipboard, xterm title\n"
+ " -x notis, selection sync, xterm title\n"
#endif
" -h show help\n\n"
"v%s\n%s\n", __func__, VERSION, GENERAL_INFO);