From b244bc6ef9d36d651c40de818ef33246919fc859 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 19 Nov 2015 14:59:57 +0200 Subject: Switch to cli --page-usage/--ansi-color mode --- bpkg/help.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'bpkg/help.cxx') 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 [|]" << 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 << "'" << -- cgit v1.1