mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:43:37 +08:00
bfb5b28d0f
Now command, jobs, type, abbr, builtin, functions and set take `-q` to query for existence, but the long option is inconsistent. The first three use `--quiet`, the latter use `--query`. Add `--query` to the first three, but keep `--quiet` around. Fixes #7276.
9 lines
425 B
Fish
9 lines
425 B
Fish
|
|
|
|
complete -c jobs -s h -l help -d 'Display help and exit'
|
|
complete -c jobs -s p -l pid -d "Show the process id of each process in the job"
|
|
complete -c jobs -s g -l group -d "Show group id of job"
|
|
complete -c jobs -s c -l command -d "Show commandname of each job"
|
|
complete -c jobs -s l -l last -d "Only show status for last job to be started"
|
|
complete -c jobs -s q -l quiet -l query -d "Check if a job exists without output"
|