mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-05-02 23:05:19 -04:00
Add guideline on syntactically distinguishing variables in commands
This commit is contained in:
parent
cf9da2f7d7
commit
3df2ffa6f6
1 changed files with 13 additions and 0 deletions
|
@ -241,6 +241,19 @@ Style Guidelines
|
|||
|
||||
* Familiarize yourself with the terms defined in the [glossary]. Use these
|
||||
terms consistently and accurately throughout your writing.
|
||||
* Syntactically distinguish variables in commands.
|
||||
For example, this is ambiguous:
|
||||
|
||||
$ qvm-run --dispvm=dvm-template --service qubes.StartApp+xterm
|
||||
|
||||
It should instead be:
|
||||
|
||||
$ qvm-run --dispvm=<DVM_TEMPLATE> --service qubes.StartApp+xterm
|
||||
|
||||
Note that we syntactically distinguish variables in three ways:
|
||||
1. Surrounding them in angled brackets (`< >`)
|
||||
2. Using underscores (`_`) between words
|
||||
3. Using all capital letters
|
||||
|
||||
|
||||
Markdown Conventions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue