summaryrefslogtreecommitdiffstats
path: root/usage.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2021-03-23 15:53:50 +0100
committerpgen <p.gen.progs@gmail.com>2021-03-27 00:39:19 +0100
commitab186c42b3f767c19ba2d149def1de8270cfb3c6 (patch)
tree60268cce029f96dc4bb62b73dd9621fb41b12ab4 /usage.c
parent04f28493dae67a9cfc0a970ee8b291ab121e1c86 (diff)
Add an option to alter the tag mode behaviour
This option (-0|-noat|-no_auto_tag) disables automatic tagging of the word under the cursor in tag mode when no word is tagged. This is true even if -p|-at|-auto_tag is also specified.
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usage.c b/usage.c
index bfe8a5a..d4cf07d 100644
--- a/usage.c
+++ b/usage.c
@@ -290,6 +290,9 @@ tagging_help(void)
printf("-p|-at|-auto_tag\n");
printf(" activates the auto-tagging.\n");
+ printf("-0|-noat|-no_auto_tag\n");
+ printf(" do not auto-tag the word under the cursor when in tagged mode\n");
+ printf(" and no other word is selected.\n");
exit(EXIT_FAILURE);
}