Skip to content

Commit

Permalink
[FIXED JENKINS-6958] Make name parameter of create-job mandatory.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed May 18, 2011
1 parent 1fbf02a commit 008bb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/cli/CreateJobCommand.java
Expand Up @@ -40,7 +40,7 @@ public String getShortDescription() {
return "Creates a new job by reading stdin as a configuration XML file";
}

@Argument(metaVar="NAME",usage="Name of the job to create")
@Argument(metaVar="NAME",usage="Name of the job to create",required=true)
public String name;

protected int run() throws Exception {
Expand Down

0 comments on commit 008bb9d

Please sign in to comment.