mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 10:46:59 +08:00
68527ff20c
This ends up saving a surprising number of bytes.
11 lines
763 B
Fish
11 lines
763 B
Fish
|
|
complete -c time -a "(__fish_complete_subcommand -- -o --output -f --format)" -d "Command"
|
|
|
|
complete -c time -s f -l format -n "__fish_no_arguments" -d "Specify output format" -x
|
|
complete -c time -s p -l portable -n "__fish_no_arguments" -d "Use the portable output format"
|
|
complete -c time -s o -l output -n "__fish_no_arguments" -d "Do not send the results to stderr, but overwrite the specified file" -r
|
|
complete -c time -s a -l append -n "__fish_no_arguments" -d "(Used together with -o) Do not overwrite but append"
|
|
complete -c time -s v -l verbose -n "__fish_no_arguments" -d "Verbose mode"
|
|
complete -c time -l help -n "__fish_no_arguments" -d "Display help and exit"
|
|
complete -c time -s V -l version -n "__fish_no_arguments" -d "Display version and exit"
|