File tree Expand file tree Collapse file tree
base/cvd/cuttlefish/host/commands/cvd/cli/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727#include " absl/strings/str_join.h"
2828
29+ #include " cuttlefish/flag_parser/flag.h"
2930#include " cuttlefish/flag_parser/gflags_compat.h"
3031#include " cuttlefish/host/commands/cvd/cli/command_request.h"
3132#include " cuttlefish/host/commands/cvd/cli/commands/command_handler.h"
@@ -207,16 +208,15 @@ std::string CvdHelpHandler::TopLevelHelp() {
207208
208209 paragraphs.emplace_back (HelpParagraph::Raw (
209210 R"( Usage:
210- cvd [selector/global options] <command> [args])" ));
211+ cvd [selector/global options] <command> [args]
212+ cvd help [<command> [args]])" ));
211213
212214 std::stringstream help_message;
213215 help_message << FormatHelpText (paragraphs);
214216
215217 help_message << " Global Options:\n " ;
216- bool help_val = false ;
217218 std::string verbosity_val = " INFO" ;
218219 std::vector<Flag> global_flags = {
219- GflagsCompatFlag (" help" , help_val).Help (" Print this message" ),
220220 GflagsCompatFlag (" verbosity" , verbosity_val)
221221 .Help (" Adjust Cvd verbosity level. LEVEL is one of ERROR, WARNING, "
222222 " INFO, DEBUG, VERBOSE." ),
You can’t perform that action at this time.
0 commit comments