-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #58: fix up required argument handling for newExtent and newExt…
…entForRecovery commands [ci skip]
- Loading branch information
1 parent
5bec1a7
commit 154d5b2
Showing
9 changed files
with
39 additions
and
13 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
6 changes: 6 additions & 0 deletions
6
...-CommandLine.package/GsDevKitNewExtentCommandLineHandler.class/instance/checkArguments.st
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
private | ||
checkArguments | ||
self arguments size < 1 | ||
ifTrue: [ | ||
self printHelp. | ||
^ self exitFailure: 'Missing stone name' ] |
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
2 changes: 1 addition & 1 deletion
2
...mandLine.package/GsDevKitNewExtentForRecoveryCommandLineHandler.class/README.md
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
10 changes: 10 additions & 0 deletions
10
...e.package/GsDevKitNewExtentForRecoveryCommandLineHandler.class/instance/checkArguments.st
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
private | ||
checkArguments | ||
self arguments size < 1 | ||
ifTrue: [ | ||
self printHelp. | ||
^ self exitFailure: 'Missing stone name' ]. | ||
self arguments size < 2 | ||
ifTrue: [ | ||
self printHelp. | ||
^ self exitFailure: 'Missing snapshot file path' ] |
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
2 changes: 1 addition & 1 deletion
2
repository/GsDevKit-CommandLine.package/monticello.meta/version
Large diffs are not rendered by default.
Oops, something went wrong.