pub enum Flag {
}Variants§
Bitflags
A --flags or -F flag in the input.
In order to encourage common flag initials, -F should always take a *Flags
argument, typically made using the bitflags crate, and whose values can
be OR’d together.
The argument should then support combining different flags by listing their names,
such as -F (flag1 flag2 flag3) to achieve Flag1 | Flag2 | Flag3.
Count
A --count or -c flag in the input.
In order to encourage common flag initials, -c should always take a Count.
Dir
A --dir or -d flag in the input.
In order to encourage common flag initials, -d should always take one of the direction
types (e.g., MoveDirMod, MoveDir1D, or MoveDir2D).
Focus
A --focus or -f flag in the input.
In order to encourage common flag initials, -f should always take a FocusChange.
Input
A --input or -i flag in the input.
In order to encourage common flag initials, -i should always take an input String.
Mark
A --mark or -m flag in the input.
In order to encourage common flag initials, -m should always take an input Mark.
Matches
A --matches or -M flag in the input.
The argument should either specify what needs to be matched (i.e., a filter or kind of value to select) or what should be done to matching values.
Position
A --position or -p flag in the input.
In order to encourage common flag initials, -p should always take an input of
MovePosition or MoveTerminus.
Register
A --register or -r flag in the input.
In order to encourage common flag initials, -r should always take an input Register.
Style
A --style or -s flag in the input.
In order to encourage common flag initials, -s should always take one of the *Style
types.
Target
A --target or -t flag in the input.
In order to encourage common flag initials, -t should always take one of the
*Target types.
Wrap
A --wrap or -w flag in the input.
In order to encourage common flag initials, -w should always take a bool to indicate
whether or not to wrap.
Short(char)
A short flag with an action-specific meaning.
Long(String)
A short flag with an action-specific meaning.