docs: standardise on definition lists for options

Harmonizes the option listing including formatting in a similar manner to the
synopsis of each entry.
This commit is contained in:
David Adam
2022-03-11 23:56:20 +08:00
parent cf85bf9be3
commit e23e52a8e9
30 changed files with 470 additions and 240 deletions

View File

@@ -18,7 +18,8 @@ If so, ``contains`` exits with code 0; if not, it exits with code 1.
The following options are available:
- **-i** or **--index** print the word index
**-i** or **--index**
Print the index (number of the element in the set) of the first matching element.
Note that ``contains`` interprets all arguments starting with a **-** as an option to ``contains``, until an **--** argument is reached.