Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short -h option for help #172

Closed
ericnewton76 opened this issue Nov 4, 2017 · 1 comment
Closed

Short -h option for help #172

ericnewton76 opened this issue Nov 4, 2017 · 1 comment

Comments

@ericnewton76
Copy link
Member

Issue by alexreg
Sunday Oct 15, 2017 at 23:16 GMT
Originally opened as gsscoder/commandline#492


This would be a nice feature to have (configurable in HelpText perhaps) as an addition to the long --help option.

@moh-hassan
Copy link
Collaborator

Supporting -h can cause Breaking change for Application which may use -h as option.
With Custom Help and setting AutoHelp=false, can help in implementing -h

class Options
{

//....
 [Option('h',"help","Show help screen"
  public bool Help {get;set;}  //using AutoHelp=false
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants