diff options
author | pgen <p.gen.progs@gmail.com> | 2020-07-27 23:00:12 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2020-07-28 14:09:25 +0200 |
commit | 32f1d29575a6578b26cab4ff8e1e1d61304a3e65 (patch) | |
tree | e9bc1000fa56f8585b2036a2746c75ac1a78c75c /usage.c | |
parent | 7132e19fe040c7c0baff3467da0f55264b75478d (diff) |
Add a sub-option m to -D
The purpose is to control the numbering of entries with missing embedded
numbers when -F is used.
Also make sure that -D is evaluated before -F, -U and -N and -F before
-U and -N.
Update and correct the manual accordingly.
Fix a test now that -N and -U accept multiple arguments.
Diffstat (limited to 'usage.c')
-rw-r--r-- | usage.c | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -266,38 +266,6 @@ tabulations_help(void) } void -direct_access_help(void) -{ - ctxopt_ctx_disp_usage("Direct_access", continue_after); - - printf("\n----------------------------------------"); - printf("----------------------------------------\n"); - - printf("Short description of allowed parameters:\n\n"); - common_help(); - - printf("-D|-data|-options:\n"); - printf(" sets sub-options to modify the behaviour of -N|-number,\n"); - printf(" -U|-unnumber and -F|-en|-embedded_number.\n"); - printf("-c|-col|-col_mode|-column\n"); - printf(" is like|-t without argument but respects end of lines.\n"); - printf("-l|-line|-line_mode\n"); - printf(" is like|-c without column alignments.\n"); - printf("-t|-tab|-tab_mode|-tabulate_mode\n"); - printf(" tabulates the items. The number of columns can be limited " - "with\n"); - printf(" an optional number.\n"); - printf("-T|-tm|-tag|-tag_mode/-P|-pm|-pin|-pin_mode\n"); - printf(" enables the tagging (multi-selections) mode. "); - printf("An optional parameter\n"); - printf(" sets the separator string between the selected words "); - printf("on the output.\n"); - printf(" A single space is the default separator.\n"); - - exit(EXIT_FAILURE); -} - -void tagging_help(void) { ctxopt_ctx_disp_usage("Tagging", continue_after); |