aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-18 08:03:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-18 08:03:38 +0200
commit542bb3eb22eefd6ed4161a5e02c828ac5c26f08b (patch)
treee202eff015c8709df9d955b1c8c795bcfe626bfa
parentf146720a3800fa2a9025a7326e0f0a2ce9048364 (diff)
Improve general help
-rw-r--r--bpkg/help.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/bpkg/help.cxx b/bpkg/help.cxx
index 0aad8f4..89ce93f 100644
--- a/bpkg/help.cxx
+++ b/bpkg/help.cxx
@@ -23,6 +23,7 @@ namespace bpkg
o << "usage: bpkg --help" << endl
<< " bpkg --version" << endl
+ << " bpkg help [<command>|<topic>]" << endl
<< " bpkg [<common-options>] <command> [<command-options>] " <<
"[<command-args>]" << endl
<< endl;
@@ -39,14 +40,15 @@ namespace bpkg
bpkg_topics::print_short_usage (o);
o << endl;
- o << "The common options are:" << endl
+ o << "The common options are summarized below. Note that they can also "
+ "be specified" << endl
+ << "as part of the command-specific options." << endl
<< endl;
common_options::print_short_usage (o);
o << endl;
- o << "The common options can also be specified as part of the command-" <<
- "specific ones."<< endl;
+ o << ""<< endl;
}
void