summaryrefslogtreecommitdiffstats
path: root/usage.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2020-07-12 00:11:00 +0200
committerpgen <p.gen.progs@gmail.com>2020-07-18 18:31:03 +0200
commitecb544da53f6c7cba0191f4d7c5764dcd6b864a2 (patch)
tree1479a4ba9bc5df3bd0c56b23ae696804aad0e07e /usage.c
parent01f9896fb17ea1cb7228dcd13b655f3812a72919 (diff)
Allow to change the substitution character
A pointer to the misc structure has to be passed to a certain number of functions for that, but this prepares the ground for future developments of this type. The code to interpret \u (UTF-8) sequences has also been made more robust for better manage incorrect entries.
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 231c757..3786a02 100644
--- a/usage.c
+++ b/usage.c
@@ -40,6 +40,9 @@ common_help(void)
printf(" sets the number of lines in the selection window.\n");
printf("-b|-blank\n");
printf(" displays non printable characters as space.\n");
+ printf("-.|-dot|-invalid\n");
+ printf(" defines the substitution character for a non-printable "
+ "character.\n");
printf("-M|-middle|-center\n");
printf(" centers the display if possible.\n");
printf("-d|-restore|-delete|-clean|-delete_window|-clean_window\n");