]> Sergey Matveev's repositories - nnn.git/commitdiff
Update text in program help
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 7 May 2021 05:09:02 +0000 (10:39 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 7 May 2021 05:09:02 +0000 (10:39 +0530)
nnn.1
src/nnn.c

diff --git a/nnn.1 b/nnn.1
index e457b6e7609f3b28ee5711be636571d4cfc42b72..eb330ccde7618bfa09b4e0e067bd43355e888df3 100644 (file)
--- 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).
index 97fe33da2b2bb61411a63d0171465e86fc547281..d501e212ee6a699c1098a19bac59d5b4c10c0a69 100644 (file)
--- 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);