Skip to content

Commit 0368c74

Browse files
committed
remove quotes around literal square brackets
1 parent d0b4840 commit 0368c74

9 files changed

Lines changed: 21 additions & 21 deletions

docs/assign-attributes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Options
4444
``--unit <id>``
4545
The target unit ID. If not present, the currently selected unit will be the
4646
target.
47-
``--attributes "[" <attribute> <tier> [<attribute> <tier> ...] "]"``
47+
``--attributes [ <attribute> <tier> [<attribute> <tier> ...] ]``
4848
The list of the attributes to modify and their tiers. The valid attribute
4949
names can be found in the :wiki:`Attribute` (substitute any space with
5050
underscores). Tiers range from -4 to 4. There must be a space before and

docs/assign-beliefs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Options
4444
``--unit <id>``
4545
The target unit ID. If not present, the currently selected unit will be the
4646
target.
47-
``--beliefs "[" <belief> <level> [<belief> <level> ...] "]"``
47+
``--beliefs [ <belief> <level> [<belief> <level> ...] ]``
4848
The list of the beliefs to modify and their levels. The valid belief tokens
4949
can be found in the :wiki:`Personality_trait` (substitute any space with
5050
underscores). Levels range from -3 to 3. There must be a space before and

docs/assign-facets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Options
4141
``--unit <id>``
4242
The target unit ID. If not present, the currently selected unit will be the
4343
target.
44-
``--facets "[" <facet> <level> [<facet> <level> ...] "]"``
44+
``--facets [ <facet> <level> [<facet> <level> ...] ]``
4545
The list of the facets to modify and their levels. The valid facet tokens
4646
can be found in the :wiki:`Personality_trait` (substitute any space with
4747
underscores). Levels range from -3 to 3. There must be a space before and

docs/assign-goals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Options
3636
``--unit <id>``
3737
The target unit ID. If not present, the currently selected unit will be the
3838
target.
39-
``--goals "[" <goal> false [<goal> false ...] "]"``
39+
``--goals [ <goal> false [<goal> false ...] ]``
4040
The list of goals to add. The valid goal tokens can be found in the
4141
:wiki:`Personality_trait` (substitute any space with underscores). There
4242
must be a space before and after each square bracket.

docs/assign-preferences.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,25 +72,25 @@ brackets can be omitted.
7272
``--unit <id>``
7373
The target unit ID. If not present, the currently selected unit will be the
7474
target.
75-
``--likematerial "[" <token> [<token> ...] "]"``
75+
``--likematerial [ <token> [<token> ...] ]``
7676
This is usually set to three tokens: a type of stone, a type of metal, and a
7777
type of gem. It can also be a type of wood, glass, leather, horn, pearl,
7878
ivory, a decoration material - coral or amber, bone, shell, silk, yarn, or
7979
cloth. Please include the full tokens, not just a part.
80-
``--likecreature "[" <token> [<token> ...] "]"``
80+
``--likecreature [ <token> [<token> ...] ]``
8181
For this preference, you can just list the species as the token. For
8282
example, a creature token can be something like ``CREATURE:SPARROW:SKIN``.
8383
Here, you can just say ``SPARROW``.
84-
``--likefood "[" <token> [<token> ...] "]"``
84+
``--likefood [ <token> [<token> ...] ]``
8585
This usually contains at least a type of alcohol. It can also be a type of
8686
meat, fish, cheese, edible plant, cookable plant/creature extract, cookable
8787
mill powder, cookable plant seed, or cookable plant leaf. Please write the
8888
full tokens.
89-
``--hatecreature "[" <token> [<token> ...] "]"``
89+
``--hatecreature [ <token> [<token> ...] ]``
9090
As in ``--likecreature`` above, you can just list the species in the token.
9191
The creature should be a type of ``HATEABLE`` vermin which isn't already
9292
explicitly liked, but no check is performed to enforce this.
93-
``--likeitem "[" <token> [<token> ...] "]"``
93+
``--likeitem [ <token> [<token> ...] ]``
9494
This can be a kind of weapon, a kind of ammo, a piece of armor, a piece of
9595
clothing (including backpacks or quivers), a type of furniture (doors,
9696
floodgates, beds, chairs, windows, cages, barrels, tables, coffins, statues,
@@ -106,15 +106,15 @@ brackets can be omitted.
106106
column "Subtype" of the wiki page (they are in the "/raw/ojects/" folder),
107107
then specify the items using the full tokens found in those files (see
108108
examples in this help).
109-
``--likeplant "[" <token> [<token> ...] "]"``
109+
``--likeplant [ <token> [<token> ...] ]``
110110
As in ``--likecreature`` above, you can just list the tree or plant species
111111
in the token.
112-
``--likecolor "[" <token> [<token> ...] "]"``
112+
``--likecolor [ <token> [<token> ...] ]``
113113
You can find the color tokens here:
114114
https://dwarffortresswiki.org/index.php/DF2014:Color#Color_tokens
115115
or inside the "descriptor_color_standard.txt" file (in the "/raw/ojects/"
116116
folder). You can use the full token or just the color name.
117-
``--likeshape "[" <token> [<token> ...] "]"``
117+
``--likeshape [ <token> [<token> ...] ]``
118118
I couldn't find a list of shape tokens in the wiki, but you can find them
119119
inside the "descriptor_shape_standard.txt" file (in the "/raw/ojects/"
120120
folder). You can use the full token or just the shape name.

docs/assign-skills.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Options
3131
``--unit <id>``
3232
The target unit ID. If not present, the currently selected unit will be the
3333
target.
34-
``--skills "[" <skill> <rank> [<skill> <rank> ...] "]"``
34+
``--skills [ <skill> <rank> [<skill> <rank> ...] ]``
3535
The list of the skills to modify and their ranks. Rank values range from -1
3636
(the skill is not learned) to 20 (legendary + 5). It is actually possible to
3737
go beyond 20 (no check is performed), but the effect on the game may not be

docs/dwarf-op.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ instead of ``all``.
7676
``drunks``
7777
Selects any dwarves who have the ``DRUNK`` profession, including those who
7878
have been zeroed by the ``--clear`` command option.
79-
``jobs "[" jobs <jobname> [<jobname> ...] "]"``
79+
``jobs [ jobs <jobname> [<jobname> ...] ]``
8080
Selects any dwarves with the specified custom professions.
81-
``waves "[" waves <num> [<num> ...] "]"``
81+
``waves [ waves <num> [<num> ...] ]``
8282
Selects dwarves from the specified migration waves. Waves are enumerated
8383
starting at 0 and increasing by 1 with each wave. The waves go by season and
8484
year and thus should match what you see in `list-waves` or Dwarf Therapist.
@@ -122,13 +122,13 @@ Command options
122122
``--optimize``
123123
Performs a job search for unoptimized dwarves. Run
124124
``dwarf-op --list job_distribution`` to see how jobs are distributed.
125-
``--applyjobs "[" <job> [<job> ...] "]"``
125+
``--applyjobs [ <job> [<job> ...] ]``
126126
Applies the listed jobs to the selected dwarves. Run
127127
``dwarf-op --list jobs`` to see available jobs.
128-
``--applyprofessions "[" <profession> [<profession> ...] "]"``
128+
``--applyprofessions [ <profession> [<profession> ...] ]``
129129
Applies the listed professions to the selected dwarves. Run
130130
``dwarf-op --list professions`` to see available professions.
131-
``--applytypes "[" <profession> [<profession> ...] "]"``
131+
``--applytypes [ <profession> [<profession> ...] ]``
132132
Applies the listed types to the selected dwarves. Run
133133
``dwarf-op --list dwf_types`` to see available types.
134134
``--renamejob <name>``

docs/extinguish.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Usage
1919
Put out the fire under the cursor.
2020
``extinguish --all``
2121
Put out all fires on the map.
22-
``extinguish --location "[" <x> <y> <z> "]"``
22+
``extinguish --location [ <x> <y> <z> ]``
2323
Put out the fire at the specified map coordinates. You can use the
2424
`position` tool to find out what the coordinates under the cursor are.
2525

docs/repeat.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ called every once in a while but don't want to have to remember to run yourself.
1212
Usage
1313
-----
1414

15-
``repeat [--name <name>] --time <delay> [--timeUnits <units>] --command "[" <command> "]"``
15+
``repeat [--name <name>] --time <delay> [--timeUnits <units>] --command [ <command> ]``
1616
Register the given command to be run periodically.
1717
``repeat --list``
1818
Show the currently registered commands and their names.
@@ -46,7 +46,7 @@ Options
4646
``frames`` (raw FPS), ``ticks`` (unpaused game frames), or the in-world time
4747
measurements of ``days``, ``months``, or ``years``. If not specified,
4848
``ticks`` is the default.
49-
``--command "[" ... "]"``
49+
``--command [ ... ]``
5050
The ``...`` specifies the command to be run, just as you would write it on
5151
the commandline. Note that the command must be enclosed in square brackets.
5252

0 commit comments

Comments
 (0)