Provide Syntax descriptions for specifying Command Line Tools
|
$ program command
|
|
|
Literal required
command as argument |
|
|
$ program <FILE>
|
|
|
Required Parameters (replacment expected)
|
|
|
$ program [FILE]
|
|
|
Optional Parameter (replacement expected)
|
|
|
$ program [-v, --verbose]
|
|
|
Flag
|
|
|
-f <FileName>
|
|
|
Single Character, Single Dash
|
|
|
--file <FileName>
|
|
|
Long Form, Double Dash
|
|
|
-fcvu
|
-f -c -v -u
|
|
Single Character, Group Multiple flags
|
|
|
$ program {run | test}
|
|
|
Required Mutualy Exclusive Literal Command Options
|
|
|
$ program -t <FILE | DIRECTORY>
|
|
|
Required Mutually Exclusive Replacement Expected
|
|
|
$ program
|
|
|
User Executed Command
|
|
|
# program
|
|
|
Elevated Permissions
|
|
|
Could be Executed as
$ sudo program |
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.