question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Print SubCommand-specific usage messages

See original GitHub issue

CmdLineParser.getArguments() returns an OptionHandler for each Argument, including those used to define sub-commands, but there is no access to the SubCommand objects from the Argument. Make it so that if an Argument has associated sub-commands, the usage message for these is also printed using the various cli.printUsage(..) methods.

Issue Analytics

  • State:open
  • Created 9 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
pradyot21commented, Aug 25, 2016

+1. Printing usage of sub-commands is really needed

1reaction
nilsgacommented, Aug 10, 2016

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Print Out Text Messages for Court | iPhone and Android
Find out how to print out text messages from either an Android phone or iPhone. Can text messages be used in court? Find...
Read more >
svn_opt.h Source File - Subversion
314 * Print a generic (not command-specific) usage message to @a stream. 315 *. 316 * @todo Why is @a stream a stdio...
Read more >
Usage message - Wikipedia
In computer programming, a usage message or help message refers to a brief message displayed by a program that utilizes a command-line interface...
Read more >
[Patch] subcommand-specific option descriptors - Subversion Dev: Re
Add subcommand-specific option descriptors in a new field in > svn_cl__cmd_table entries and use them for more sensible help > messages.
Read more >
https://www.cs.cmu.edu/afs/club/admin/afs/root.afs...
If @c command is non-NULL, * then the subcommand-specific option description ... Then * loop over @a cmd_table printing the usage for each...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found