zsh: Option Flags

Next: Alternative Completion, Previous: Command Flags, Up: Completion Using compctl [Contents][Index]

### 21.4 Option Flags

[ `-fcFBdeaRGovNAIOPZEnbjrzu/12` ]
[ `-k` array ] [ `-g` globstring ] [ `-s` subststring ]
[ `-K` function ]
[ `-Q` ] [ `-P` prefix ] [ `-S` suffix ]
[ `-W` file-prefix ] [ `-H` num pattern ]
[ `-q` ] [ `-X` explanation ] [ `-Y` explanation ]
[ `-y` func-or-var ] [ `-l` cmd ] [ `-h` cmd ] [ `-U` ]
[ `-t` continue ] [ `-J` name ] [ `-V` name ]
[ `-M` match-spec ]

The remaining options specify the type of command arguments to look for during completion. Any combination of these flags may be specified; the result is a sorted list of all the possibilities. The options are as follows.