summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-11 23:27:54 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-11 23:27:54 (EDT)
commit40d78d79d8c6bc28fb19b4a8e25a30d433b90e68 (patch)
tree2511f38164916bd1e0f76818eaae2629e4891fe7
parent8dc1c9a78f9b938cc5ea35a9fe0aaf9f2d76f68b (diff)
Add options to usage/synopsis information.
-rw-r--r--locale/en_US/pro_archman.sh4
-rw-r--r--man/pro-archman.1in2
2 files changed, 4 insertions, 2 deletions
diff --git a/locale/en_US/pro_archman.sh b/locale/en_US/pro_archman.sh
index ce569b1..05f108b 100644
--- a/locale/en_US/pro_archman.sh
+++ b/locale/en_US/pro_archman.sh
@@ -22,10 +22,10 @@ msg_pro_archman_lock_fail='The archive is locked by another process'
# lib/cmd.sh
msg_pro_archman_cmd_not_found='Command "%s" not found'
-msg_pro_archman_cmd_usage='Usage: %s %s %s'
+msg_pro_archman_cmd_usage='Usage: %s [<option> ...] %s %s'
# lib/cmd/help.sh
-msg_pro_archman_cmd_help_head='Usage: %s <command>'
+msg_pro_archman_cmd_help_head='Usage: %s [<option> ...] <command>'
msg_pro_archman_cmd_help_summary_head='Where <command> is one of:'
msg_pro_archman_cmd_help_summary='print this help message'
msg_pro_archman_cmd_help_usage='[<command>]'
diff --git a/man/pro-archman.1in b/man/pro-archman.1in
index 4ff5137..3096db7 100644
--- a/man/pro-archman.1in
+++ b/man/pro-archman.1in
@@ -6,6 +6,8 @@ pro-archman \- ProteanOS Archive Manager
.SH SYNOPSIS
.B pro-archman
+.RI [ option
+\&...]
.I command
.RI [ arg
\&...]