-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #261: cleaning up the help code ...
- Loading branch information
1 parent
366ac89
commit 52c8c41
Showing
9 changed files
with
109 additions
and
12 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
49 changes: 49 additions & 0 deletions
49
...ore.package/AbstractGsDevKitProgram.class/instance/usage.shortDescription.description..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,49 @@ | ||
usage | ||
usage: scriptName shortDescription: shortDescription description: description | ||
self stdout | ||
nextPutAll: | ||
(self manPageClass | ||
fromString: | ||
'NAME | ||
' , scriptName , ' - ' , shortDescription | ||
, | ||
'. | ||
SYNOPSIS | ||
' , scriptName | ||
, | ||
' [ [-H] [-D] [-V] [ <st-vm-args> ] -- ] <script options> | ||
---------- | ||
' | ||
, (self usageSynopsis: scriptName) | ||
, | ||
' | ||
DESCRIPTION | ||
' , description | ||
, | ||
' | ||
' , self usageDescription | ||
, | ||
' | ||
-H | ||
help. st_launcher script interpreter help message | ||
-D | ||
debug. bring up debugger if an error occurs while running script | ||
-V | ||
verbose. display more detail about script interpreter execution | ||
<st-vm-args> | ||
smalltalk vm specific arguments passed directly to vm when launching script | ||
EXAMPLES | ||
' | ||
, (self usageStandardExamples: scriptName) | ||
, (self usageExamples: scriptName) | ||
, | ||
' | ||
') | ||
printString |
6 changes: 6 additions & 0 deletions
6
...gsdevkit_launcher-Core.package/AbstractGsDevKitProgram.class/instance/usageDescription.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 @@ | ||
usage | ||
usageDescription | ||
^ ' | ||
--help | ||
display this message | ||
' |
10 changes: 10 additions & 0 deletions
10
...it_launcher-Core.package/AbstractGsDevKitProgram.class/instance/usageStandardExamples..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 @@ | ||
usage | ||
usageStandardExamples: scriptName | ||
^ scriptName | ||
, | ||
' -h | ||
' , scriptName | ||
, | ||
' --help | ||
' |
3 changes: 3 additions & 0 deletions
3
...c/gsdevkit_launcher-Core.package/AbstractGsDevKitProgram.class/instance/usageSynopsis..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,3 @@ | ||
usage | ||
usageSynopsis: scriptName | ||
^ scriptName , ' [ -h | --help ] ' |
1 change: 1 addition & 0 deletions
1
.../GsDevKit_launcher/rowan/src/gsdevkit_launcher-Core.package/monticello.meta/categories.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 @@ | ||
SystemOrganization addCategory: #'gsdevkit_launcher-Core'! |
Empty file.
1 change: 1 addition & 0 deletions
1
.../repos/GsDevKit_launcher/rowan/src/gsdevkit_launcher-Core.package/monticello.meta/package
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 @@ | ||
(name 'gsdevkit_launcher-Core') |