-
Sponsor
Sponsor schemacrawler/SchemaCrawler
- Notifications
- Fork 172
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Reformatting
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| return false; | |||
| } | |||
|
|
|||
| private static boolean showVersionIfRequested(final String[] args) { | |||
| final SystemCommand systemCommand = new SystemCommand(new ShellState()); | |||
| final ShellState state = new ShellState(); | |||
| final SystemCommand systemCommand = new SystemCommand(state); | |||
| final CommandLine commandLine = new CommandLine(systemCommand); | |||
| commandLine.setUnmatchedArgumentsAllowed(true); | |||
| commandLine.parseArgs(args); | |||
|
|||
|
|||
| if (systemCommand.isVersionRequested() || systemCommand.isShowEnvironment()) { | |||
| systemCommand.run(); | |||
| return true; | |||
| } | |||
| return false; | |||
| } | |||
| private Main() { | |||