This repository has been archived by the owner on Sep 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from jhourani/experimental
Fixes issue #34, implements --no-preserve.
- Loading branch information
Showing
11 changed files
with
153 additions
and
74 deletions.
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -42,11 +42,8 @@ | |
* @author Anthony Bargnesi {@code <[email protected]>} | ||
*/ | ||
public final class PhaseFourApplication extends PhaseApplication { | ||
private final static String SHORT_OPT_KAM_NAME = "k"; | ||
private final static String LONG_OPT_KAM_NAME = "kam-name"; | ||
private final static String SHORT_OPT_KAM_DESCRIPTION = "d"; | ||
private final static String LONG_OPT_KAM_DESCRIPTION = "kam-description"; | ||
private final static String LONG_OPT_NO_PRESERVE = "no-preserve"; | ||
private final DefaultPhaseFour p4; | ||
private final SystemConfiguration sysconfig; | ||
|
||
|
@@ -287,19 +284,15 @@ public List<Option> getCommandLineOptions() { | |
String help; | ||
Option o; | ||
|
||
help = KAM_NAME_HELP; | ||
o = new Option(SHORT_OPT_KAM_NAME, LONG_OPT_KAM_NAME, true, help); | ||
o.setArgName("kam"); | ||
options.add(o); | ||
|
||
help = KAM_DESCRIPTION_HELP; | ||
o = new Option(SHORT_OPT_KAM_DESCRIPTION, LONG_OPT_KAM_DESCRIPTION, | ||
true, help); | ||
o.setArgName("description"); | ||
options.add(o); | ||
|
||
help = NO_PRESERVE_HELP; | ||
o = new Option(null, LONG_OPT_NO_PRESERVE, false, help); | ||
|
||
help = KAM_NAME_HELP; | ||
o = new Option(SHORT_OPT_KAM_NAME, LONG_OPT_KAM_NAME, true, help); | ||
o.setArgName("kam"); | ||
options.add(o); | ||
|
||
return options; | ||
|
Oops, something went wrong.