aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-19 14:59:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-19 14:59:57 +0200
commitb244bc6ef9d36d651c40de818ef33246919fc859 (patch)
tree460c31451c5085b425ab65cef17d2c193f14dded /bpkg/help.cxx
parent0c940ac57cc521b81f7691cd8cec39de6e45f8aa (diff)
Switch to cli --page-usage/--ansi-color mode
Diffstat (limited to 'bpkg/help.cxx')
-rw-r--r--bpkg/help.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/bpkg/help.cxx b/bpkg/help.cxx
index f03ad21..0505061 100644
--- a/bpkg/help.cxx
+++ b/bpkg/help.cxx
@@ -21,6 +21,8 @@ namespace bpkg
{
ostream& o (cout);
+ //@@ TODO
+
o << "usage: bpkg --help" << endl
<< " bpkg --version" << endl
<< " bpkg help [<command>|<topic>]" << endl
@@ -60,9 +62,11 @@ namespace bpkg
{
usage (o);
+ //@@ TODO
+
o << endl
<< "The common options are summarized below. For details, see the " <<
- "'options' help" << endl
+ "'common' help" << endl
<< "topic." << endl
<< endl;
@@ -70,9 +74,9 @@ namespace bpkg
}
else if (t.empty ()) // General help.
help ();
- else if (t == "options") // Help topics.
+ else if (t == "common") // Help topics.
{
- common_options::print_long_usage (cout);
+ print_bpkg_common_long_usage (cout);
}
else
fail << "unknown bpkg command/help topic '" << t << "'" <<