Skip to content

Commit 38a0ebb

Browse files
committed
ST6RI-823 Updates help text repository commands
1 parent 14ecae5 commit 38a0ebb

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

org.omg.sysml.interactive/src/org/omg/sysml/interactive/SysMLInteractiveHelp.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ public class SysMLInteractiveHelp {
8080

8181
private static final String PUBLISH_HELP_STRING =
8282
"Usage: %publish <NAME>\n\n"
83-
+ "Publish the model elements rooted in <NAME> to the repository. <NAME> must be fully qualified.\n";
83+
+ "Publish the model elements rooted in <NAME> to the repository. <NAME> must be fully qualified.\n"
84+
+ "Use the --project parameter to specify a project to create or update. If not specified, a new project is created with the name of the model element and a timestamp.\n"
85+
+ "(Experimental) Use --branch to specify the target branch name. If not specified, the default branch is selected.\n";
8486

8587
private static final String VIZ_HELP_STRING =
8688
"Usage: %viz [--view=<VIEW>] [--style=<STYLE>...] <NAME> [<NAME>...]\n\n"
@@ -120,9 +122,10 @@ public class SysMLInteractiveHelp {
120122
+ "<NAME> must be fully qualified.\n";
121123

122124
private static final String LOAD_HELP_STRING =
123-
"Usage: %load [--id=<PROJECT ID] [--name=<NAME>] [<NAME>]\n\n"
125+
"Usage: %load [--branch=<BRANCH_NAME>] [--id=<PROJECT ID] [--name=<NAME>] [<NAME>]\n\n"
124126
+ "Downloads previously published models from the repository. <NAME> must be the full name of the project.\n"
125-
+ "Use --id=<PROJECT ID> to load projects by id.\n"
127+
+ "Use --id=<PROJECT ID> to load projects by id. It is not supported to provide both id and name.\n"
128+
+ "(Experimental) Use --branch=<BRANCH_NAME> to select the branch to load from. If not specified, the default branch is used.\n"
126129
+ "Use %projects to view repository contents.\n";
127130

128131
private static final String PROJECTS_HELP_STRING =

0 commit comments

Comments
 (0)