Preflight Checklist
Description
(1) Currently we always use square brackets, whether or not things are mandatory.
For example:
Incorrect usage of nano command. Usage: nano [scriptname], instead of, say, nano <scriptname> or just nano scriptname
Or:
mem [script] [-t n] Displays the amount of RAM required to run the script
run [script] [-t n] [--tail] Run a program, a script, or a coding contract
[--ram-override n]
[--temporary] [args...]
Instead of, say:
mem script [-t n] Displays the amount of RAM required to run the script
run script [-t n] [--tail] Run a program, a script, or a coding contract
[--ram-override n]
[--temporary] [args...]
or run <script> etc. / men <script> etc.
(2) We also use upper case and lower case inconsistently (rm [OPTIONS]... [FILE]... vs mv [src] [dest]).
(3) We're inconsistent about small things like file vs file name vs filename.
(4) ps is missing args in the help read-out -- it's ps [-g, --grep pattern]. Others may be too. Also ls has [-g] in the help read-out, but also supports --grep.
Finally, lots of players won't understand what these conventions even denote. I don't think they have an easy way to find out either. When I first played the game I'd hardly used a terminal before, and assumed that the commands and syntax were Bitburner's own invention. I wouldn't have thought to Google "Linux CLI command conventions".
So it would be helpful to add a couple of lines to the help command read-out to explain things. E.g.
- square brackets mean optional, and no brackets / angle brackets mean mandatory
- lower case means literal, upper means placeholder
- [-g, --grep] means you can use either flag, and they do the same thing
Preflight Checklist
Description
(1) Currently we always use square brackets, whether or not things are mandatory.
For example:
Incorrect usage of nano command. Usage: nano [scriptname], instead of, say,nano <scriptname>or justnano scriptnameOr:
Instead of, say:
or
run <script> etc./men <script> etc.(2) We also use upper case and lower case inconsistently (
rm [OPTIONS]... [FILE]...vsmv [src] [dest]).(3) We're inconsistent about small things like file vs file name vs filename.
(4)
psis missing args in the help read-out -- it's ps [-g, --grep pattern]. Others may be too. Also ls has [-g] in the help read-out, but also supports --grep.Finally, lots of players won't understand what these conventions even denote. I don't think they have an easy way to find out either. When I first played the game I'd hardly used a terminal before, and assumed that the commands and syntax were Bitburner's own invention. I wouldn't have thought to Google "Linux CLI command conventions".
So it would be helpful to add a couple of lines to the
helpcommand read-out to explain things. E.g.