summaryrefslogtreecommitdiff
path: root/src/preproc/grn
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-10-21 22:07:25 -0500
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-10-23 13:33:20 -0500
commit8c32fe238a72de5ee909605c988b79645c029e39 (patch)
tree235d4abe98ffd345f6b0273204485437e480a881 /src/preproc/grn
parent4b3ecb9b1906fdcf469f3aedb0d7966747191119 (diff)
downloadgroff-git-8c32fe238a72de5ee909605c988b79645c029e39.tar.gz
[grn]: Update usage message.
* src/preproc/grn/main.cpp (usage): Update usage message. Present different modes of operation on separate output lines. Sort options in English lexicographic order.
Diffstat (limited to 'src/preproc/grn')
-rw-r--r--src/preproc/grn/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/preproc/grn/main.cpp b/src/preproc/grn/main.cpp
index a96f25d49..bb20296b1 100644
--- a/src/preproc/grn/main.cpp
+++ b/src/preproc/grn/main.cpp
@@ -259,8 +259,10 @@ void
usage(FILE *stream)
{
fprintf(stream,
- "usage: %s [-vCs] [-M dir] [-F dir] [-T dev] [file ...]\n",
- program_name);
+ "usage: %s [-Cs] [-M dir] [-F dir] [-T dev] [file ...]\n"
+ "usage: %s {-v | --version}\n"
+ "usage: %s --help\n",
+ program_name, program_name, program_name);
}