-
Notifications
You must be signed in to change notification settings - Fork 0
Home
[-|--|/][name|letter][toggle][=|:| ][value]
Argument Types
Option: -o, --option
Toggle: -o-
Combined: -xyz
Switch: /s, /S
Value: "string value", 123, true|false
Toggle Characters
-
+
Switch (boolean)
/s (true)
/S (false?)
Option with Value
-o=value
-o:value
-o value
--option=value
--option:value
--option value
Assignment Characters
Whitespace
=
:
Values
"string value"
123
12.3
1,230
true|false
command
Examples
example.exe -s // enable option s
example.exe -s- // disable option s
example.exe -s+ // enable option s
example.exe -xyz // enable option x, y and z
example.exe -xyz- // disable option x, y and z
example.exe -xyz+ // enable option x, y and z
Boolean Option(s)
-a (true)
-a- (false)
-ab (eq. to -a -b)
-ab+ (eq. to -ab)
-ab- (eq. to -a- -b-)
Enum Options
--system
--global
--local