updated README.md
This commit is contained in:
parent
8982353f0a
commit
75c3dcda61
2 changed files with 26 additions and 12 deletions
|
|
@ -211,14 +211,12 @@ public class JobServClient {
|
|||
* Parses arguments and calls the correct function
|
||||
*/
|
||||
public static void main(String[] args) throws Exception {
|
||||
if (args.length == 1 && args[0] == "help"){
|
||||
outputHelp();
|
||||
}
|
||||
|
||||
// check args
|
||||
if (args.length < 7) {
|
||||
System.out.println("Usage: $ ./jobserv-client privatekey, cert, truststore, host, port, command, args");
|
||||
System.out.println("Or try $ ./jobserv-client help");
|
||||
outputHelp();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -342,6 +340,10 @@ public class JobServClient {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* outputHelp()
|
||||
* writes help information about all commands in the shell to screen
|
||||
*/
|
||||
public static void outputHelp() {
|
||||
System.out.println("... new (command)");
|
||||
System.out.println("Starts a new process on the server");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue