Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add separate terminology and cross-reference new documentation * Reword link to extra documentation. Add Terminolgy to README.
- Loading branch information
1 parent
9236449
commit e56fba2
Showing
3 changed files
with
27 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Terminology | ||
|
||
The command line arguments are made up of options, option-arguments, commands, and command-arguments. | ||
|
||
| Term | Explanation | | ||
| --- | --- | | ||
| option | an argument which is a `-` followed by a character, or `--` followed by a word (or hyphenated words), like `-s` or `--short` | | ||
| option-argument| some options can take an argument | | ||
| command | a program or command can have subcommands | | ||
| command-argument | argument for the command (and not an option or option-argument) | | ||
|
||
For example: | ||
|
||
```sh | ||
my-utility command -o --option option-argument command-argument-1 command-argument-2 | ||
``` | ||
|
||
In other references options are sometimes called flags, and command-arguments are sometimes called positional arguments or operands. |