Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

one stupid spec question...

 
YungSheng Chang
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In instruction, it provides the following command:
java -jar <path_and_filename> [<mode>]

Does this mean I should leave [] there?
For example, to initiate a client, is it 1 or 2?
1. java -jar runme.jar []
2. java -jar runme.jar
Same, to run a server, 1 or 2?
1. java -jar runme.jar [server]
2. java -jar runme.jar server

I think it should be 1, is it?
 
Christophe Grosjean
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, in fact it is 2.
The '[]' indicates the mode is facultative.
Christophe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic