diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-25 09:19:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-25 09:19:19 +0200 |
commit | 87e476cf192b70c133a1bf00efa8586348326092 (patch) | |
tree | 88d70237857ceec7416c8edd7a3d8cf2d8093fb5 /bpkg/common-options.cli | |
parent | b244bc6ef9d36d651c40de818ef33246919fc859 (diff) |
New command line help setup
Diffstat (limited to 'bpkg/common-options.cli')
-rw-r--r-- | bpkg/common-options.cli | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/bpkg/common-options.cli b/bpkg/common-options.cli index a8b6744..f07d70e 100644 --- a/bpkg/common-options.cli +++ b/bpkg/common-options.cli @@ -5,13 +5,38 @@ include <bpkg/types>; "\section=1" -"\name=bpkg-common" -"\summary=common options for all commands" +"\name=bpkg-common-options" +"\summary=options common for all commands" namespace bpkg { + { + "<common-options>", + + "\h|SYNOPSIS| + + \c{\b{bpkg} [<common-options>] ...} + + \h|DESCRIPTION| + + The common options can be specified either before the command or after, + togethere with the command-specific options." + } + class common_options = 0 { + "\h|COMMON OPTIONS|" + + // Retain this note only in the summary. + // + { + "", + "The common options are summarized below with a more detailed description + available as the \l{bpkg-common-options(1) \cb{common-options}} help + topic.", + "" + } + bool -v { "Print underlying commands being executed. This is equivalent to |