Created
January 24, 2013 16:57
-
-
Save gsscoder/4625084 to your computer and use it in GitHub Desktop.
Command Line Parser, verbs sub options.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CommitSubOptions | |
{ | |
[Option('p', "patch", | |
HelpText = "Use the interactive patch selection interface to chose which changes to commit.")] | |
public bool Patch { get; set; } | |
[Option('a', "all", | |
HelpText = "Tell the command to automatically stage files that have been modified.")] | |
public bool All { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment