提交 008bb9db 编写于 作者: U Ulli Hafner

[FIXED JENKINS-6958] Make name parameter of create-job mandatory.

上级 1fbf02ae
......@@ -40,7 +40,7 @@ public class CreateJobCommand extends CLICommand {
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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册