mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
6a60377e02
darcs-hash:20070128032652-ac50b-dae70e7b2efddbc757aae8bc7d1884ff5e010621.gz
13 lines
930 B
Fish
13 lines
930 B
Fish
|
|
complete -c time -a "(__fish_complete_subcommand -- -o --output -f --format)" --description "Command"
|
|
|
|
complete -c time -s f -l format -n "__fish_no_arguments" --description "Specify output format" -x
|
|
complete -c time -s p -l portable -n "__fish_no_arguments" --description "Use the portable output format"
|
|
complete -c time -s o -l output -n "__fish_no_arguments" --description "Do not send the results to stderr, but overwrite the specified file" -r
|
|
complete -c time -s a -l append -n "__fish_no_arguments" --description "(Used together with -o) Do not overwrite but append"
|
|
complete -c time -s v -l verbose -n "__fish_no_arguments" --description "Verbose mode"
|
|
complete -c time -l help -n "__fish_no_arguments" --description "Display help and exit"
|
|
complete -c time -s V -l version -n "__fish_no_arguments" --description "Display version and exit"
|
|
|
|
# Since time runs subcommands, it can accept any switches
|
|
complete -c time -u
|