| | |
| | | private StringArgument file; |
| | | private BooleanArgument quiet; |
| | | private BooleanArgument noPrompt; |
| | | private BooleanArgument verbose; |
| | | private BooleanArgument revertMostRecent; |
| | | private StringArgument reversionArchive; |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * Indicates whether or not this operation is verbose. |
| | | * @return boolean where true indicates verbose |
| | | */ |
| | | public boolean isVerbose() { |
| | | return verbose.isPresent(); |
| | | } |
| | | |
| | | /** |
| | | * Indicates whether or not this operation is interactive. |
| | | * @return boolean where true indicates noninteractive |
| | | */ |
| | |
| | | INFO_UPGRADE_DESCRIPTION_SILENT.get()); |
| | | argParser.addArgument(quiet); |
| | | |
| | | verbose = new BooleanArgument(OPTION_LONG_VERBOSE, OPTION_SHORT_VERBOSE, |
| | | OPTION_LONG_VERBOSE, INFO_DESCRIPTION_VERBOSE.get()); |
| | | argParser.addArgument(verbose); |
| | | |
| | | showUsage = new BooleanArgument( |
| | | "showusage", |
| | | OPTION_SHORT_HELP, |