mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Remove -A and --autoritative from completions
--authoritative and --unauthoritative 'complete' builtin switches have no effect anymore. This commit removes usage of --autoritative/-A in completions.
This commit is contained in:
parent
dc96c01c93
commit
2900352e04
6 changed files with 32 additions and 32 deletions
|
@ -108,7 +108,7 @@ end
|
||||||
set -l commands list status monitor capture tree introspect call get-property set-property help
|
set -l commands list status monitor capture tree introspect call get-property set-property help
|
||||||
|
|
||||||
complete -f -e -c busctl
|
complete -f -e -c busctl
|
||||||
complete -A -f -c busctl -n "not __fish_seen_subcommand_from $commands" -a "$commands"
|
complete -f -c busctl -n "not __fish_seen_subcommand_from $commands" -a "$commands"
|
||||||
|
|
||||||
### Arguments to commands
|
### Arguments to commands
|
||||||
# "status" only takes a single service as argument
|
# "status" only takes a single service as argument
|
||||||
|
|
|
@ -5,26 +5,26 @@ complete -c cygport -s 8 -l 64 -d "Build for 64-bit Cygwin"
|
||||||
complete -c cygport -l debug -d "Enable debugging messages"
|
complete -c cygport -l debug -d "Enable debugging messages"
|
||||||
|
|
||||||
# Cygport file
|
# Cygport file
|
||||||
complete -c cygport -n '__fish_is_first_token' -A -f -a '*.cygport' -d "Cygport file"
|
complete -c cygport -n '__fish_is_first_token' -f -a '*.cygport' -d "Cygport file"
|
||||||
|
|
||||||
# Commands
|
# Commands
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'downloadall fetchall wgetall getall' -d "Download all sources"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'downloadall fetchall wgetall getall' -d "Download all sources"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'download fetch wget get' -d "Download missing sources"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'download fetch wget get' -d "Download missing sources"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'prep unpack' -d "Prepare source directory"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'prep unpack' -d "Prepare source directory"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'compile build make' -d "Build software"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'compile build make' -d "Build software"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'check test' -d "Run test suite"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'check test' -d "Run test suite"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'inst install' -d "Install into DESTDIR and run post-installation steps"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'inst install' -d "Install into DESTDIR and run post-installation steps"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'postinst' -d "Run post-installation steps"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'postinst' -d "Run post-installation steps"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'list' -d "List package files"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'list' -d "List package files"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'listdebug listdbg' -d "List debug package files"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'listdebug listdbg' -d "List debug package files"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'dep' -d "Show dependencies"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'dep' -d "Show dependencies"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'info' -d "Show packaging info"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'info' -d "Show packaging info"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'homepage web www' -d "Show project homepage URL"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'homepage web www' -d "Show project homepage URL"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'package pkg' -d "Create packages"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'package pkg' -d "Create packages"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'diff mkdiff mkpatch' -d "Create source patches"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'diff mkdiff mkpatch' -d "Create source patches"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'upload up' -d "Upload finished packages"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'upload up' -d "Upload finished packages"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'announce' -d "Send announcement email"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'announce' -d "Send announcement email"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'clean finish' -d "Delete working directory"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'clean finish' -d "Delete working directory"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'almostall all' -d "Same as prep build inst pkg"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'almostall all' -d "Same as prep build inst pkg"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'help' -d "Show help"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'help' -d "Show help"
|
||||||
complete -c cygport -n 'not __fish_is_first_token' -A -f -a 'version' -d "Show version"
|
complete -c cygport -n 'not __fish_is_first_token' -f -a 'version' -d "Show version"
|
||||||
|
|
|
@ -50,7 +50,7 @@ complete -f -c machinectl -n "__fish_seen_subcommand_from list-images" -s a -l a
|
||||||
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "status" -d "Show information about machine"
|
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "status" -d "Show information about machine"
|
||||||
complete -f -c machinectl -n "__fish_seen_subcommand_from status" -s l -l full -d "Do not ellipsize process tree entries"
|
complete -f -c machinectl -n "__fish_seen_subcommand_from status" -s l -l full -d "Do not ellipsize process tree entries"
|
||||||
complete -x -c machinectl -n "__fish_seen_subcommand_from status" -s n -l lines -d "How many journal lines to show"
|
complete -x -c machinectl -n "__fish_seen_subcommand_from status" -s n -l lines -d "How many journal lines to show"
|
||||||
complete -x -A -c machinectl -n "__fish_seen_subcommand_from status" -s o -l output -d "Formatting of journal output" -a \
|
complete -x -c machinectl -n "__fish_seen_subcommand_from status" -s o -l output -d "Formatting of journal output" -a \
|
||||||
'short short-iso short-precise short-monotonic verbose export json json-pretty json-sse cat'
|
'short short-iso short-precise short-monotonic verbose export json json-pretty json-sse cat'
|
||||||
|
|
||||||
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "show" -d "Show properties of machines"
|
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "show" -d "Show properties of machines"
|
||||||
|
@ -66,7 +66,7 @@ complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "reb
|
||||||
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "terminate" -d "Terminate machine (without shutting down)"
|
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "terminate" -d "Terminate machine (without shutting down)"
|
||||||
|
|
||||||
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "kill" -d "Send signal to process in a machine"
|
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "kill" -d "Send signal to process in a machine"
|
||||||
complete -x -A -c machinectl -n "__fish_seen_subcommand_from kill" -l kill-who -d "Choose who to send the signal to" -a 'leader all'
|
complete -x -c machinectl -n "__fish_seen_subcommand_from kill" -l kill-who -d "Choose who to send the signal to" -a 'leader all'
|
||||||
__fish_make_completion_signals
|
__fish_make_completion_signals
|
||||||
complete -x -c machinectl -n "__fish_seen_subcommand_from kill" -s s -l signal -d "Signal to send" -a "$__kill_signals"
|
complete -x -c machinectl -n "__fish_seen_subcommand_from kill" -s s -l signal -d "Signal to send" -a "$__kill_signals"
|
||||||
|
|
||||||
|
@ -100,8 +100,8 @@ complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "exp
|
||||||
complete -f -c machinectl -n "__fish_seen_subcommand_from export-tar export-raw" -l format -d "Specify compression format" -a 'uncompressed xz gzip bzip2'
|
complete -f -c machinectl -n "__fish_seen_subcommand_from export-tar export-raw" -l format -d "Specify compression format" -a 'uncompressed xz gzip bzip2'
|
||||||
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "list-transfers" -d "Show running downloads, imports and exports"
|
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "list-transfers" -d "Show running downloads, imports and exports"
|
||||||
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "cancel-transfers" -d "Abort running downloads, imports or exports"
|
complete -f -c machinectl -n "not __fish_seen_subcommand_from $commands" -a "cancel-transfers" -d "Abort running downloads, imports or exports"
|
||||||
complete -x -A -c machinectl -n "__fish_seen_subcommand_from pull-{tar,raw}" -l verify -a 'no checksum signature' -d "Verify image with specified method"
|
complete -x -c machinectl -n "__fish_seen_subcommand_from pull-{tar,raw}" -l verify -a 'no checksum signature' -d "Verify image with specified method"
|
||||||
complete -x -A -c machinectl -n "__fish_seen_subcommand_from pull-dkr" -l verify -a 'no' -d "Verify image (not available for dkr)"
|
complete -x -c machinectl -n "__fish_seen_subcommand_from pull-dkr" -l verify -a 'no' -d "Verify image (not available for dkr)"
|
||||||
complete -x -c machinectl -n "__fish_seen_subcommand_from pull-dkr" -l dkr-index-url -d "Specify index server"
|
complete -x -c machinectl -n "__fish_seen_subcommand_from pull-dkr" -l dkr-index-url -d "Specify index server"
|
||||||
complete -f -c machinectl -n "__fish_seen_subcommand_from pull-{tar,raw,dkr}" -l force -d "Overwrite existing machine image"
|
complete -f -c machinectl -n "__fish_seen_subcommand_from pull-{tar,raw,dkr}" -l force -d "Overwrite existing machine image"
|
||||||
|
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
# -F, --from FORMAT The format to convert from. Can be css, scss, sass.
|
# -F, --from FORMAT The format to convert from. Can be css, scss, sass.
|
||||||
# By default, this is inferred from the input filename.
|
# By default, this is inferred from the input filename.
|
||||||
# If there is none, defaults to css.
|
# If there is none, defaults to css.
|
||||||
complete -c sass-convert -s F -l from -x -a "css scss sass" -A -d "The format to convert from. Can be css, scss, sass. By default, this is inferred from the input filename. If there is none, defaults to css."
|
complete -c sass-convert -s F -l from -x -a "css scss sass" -d "The format to convert from. Can be css, scss, sass. By default, this is inferred from the input filename. If there is none, defaults to css."
|
||||||
# -T, --to FORMAT The format to convert to. Can be scss or sass.
|
# -T, --to FORMAT The format to convert to. Can be scss or sass.
|
||||||
# By default, this is inferred from the output filename.
|
# By default, this is inferred from the output filename.
|
||||||
# If there is none, defaults to sass.
|
# If there is none, defaults to sass.
|
||||||
complete -c sass-convert -s T -l to -x -a "scss sass" -A -d "The format to convert to. Can be scss or sass. By default, this is inferred from the output filename. If there is none, defaults to sass."
|
complete -c sass-convert -s T -l to -x -a "scss sass" -d "The format to convert to. Can be scss or sass. By default, this is inferred from the output filename. If there is none, defaults to sass."
|
||||||
# -i, --in-place Convert a file to its own syntax.
|
# -i, --in-place Convert a file to its own syntax.
|
||||||
# This can be used to update some deprecated syntax.
|
# This can be used to update some deprecated syntax.
|
||||||
complete -c sass-convert -s i -l in-place -d "Convert a file to its own syntax. This can be used to update some deprecated syntax."
|
complete -c sass-convert -s i -l in-place -d "Convert a file to its own syntax. This can be used to update some deprecated syntax."
|
||||||
|
|
|
@ -11,7 +11,7 @@ complete -c sass -s r -l require -x -d "Require a Ruby library before running Sa
|
||||||
# --compass Make Compass imports available and load project configuration.
|
# --compass Make Compass imports available and load project configuration.
|
||||||
complete -c sass -l compass -d "Make Compass imports available and load project configuration."
|
complete -c sass -l compass -d "Make Compass imports available and load project configuration."
|
||||||
# -t, --style NAME Output style. Can be nested (default), compact, compressed, or expanded.
|
# -t, --style NAME Output style. Can be nested (default), compact, compressed, or expanded.
|
||||||
complete -c sass -s t -l style -x -A -a "nested compact compressed expanded" -d "Output style. Can be nested (default), compact, compressed, or expanded."
|
complete -c sass -s t -l style -x -a "nested compact compressed expanded" -d "Output style. Can be nested (default), compact, compressed, or expanded."
|
||||||
# -?, -h, --help Show this help message.
|
# -?, -h, --help Show this help message.
|
||||||
complete -c sass -s '?' -s h -l help -f -d "Show help message."
|
complete -c sass -s '?' -s h -l help -f -d "Show help message."
|
||||||
# -v, --version Print the Sass version.
|
# -v, --version Print the Sass version.
|
||||||
|
@ -44,7 +44,7 @@ complete -c sass -l scss -d "Use the CSS-superset SCSS syntax."
|
||||||
# file: always absolute file URIs
|
# file: always absolute file URIs
|
||||||
# inline: include the source text in the sourcemap
|
# inline: include the source text in the sourcemap
|
||||||
# none: no sourcemaps
|
# none: no sourcemaps
|
||||||
complete -c sass -l sourcemap -x -A -a "auto\t'(default) relative paths where possible, file URIs elsewhere'
|
complete -c sass -l sourcemap -x -a "auto\t'(default) relative paths where possible, file URIs elsewhere'
|
||||||
sfile\t'always absolute file URIs'
|
sfile\t'always absolute file URIs'
|
||||||
inline\t'include the source text in the sourcemap'
|
inline\t'include the source text in the sourcemap'
|
||||||
none\t'no sourcemaps'" -d "How to link generated output to the source files."
|
none\t'no sourcemaps'" -d "How to link generated output to the source files."
|
||||||
|
|
|
@ -11,7 +11,7 @@ complete -c scss -s r -l require -r -d "Require a Ruby library before running Sa
|
||||||
# --compass Make Compass imports available and load project configuration.
|
# --compass Make Compass imports available and load project configuration.
|
||||||
complete -c scss -l compass -d "Make Compass imports available and load project configuration."
|
complete -c scss -l compass -d "Make Compass imports available and load project configuration."
|
||||||
# -t, --style NAME Output style. Can be nested (default), compact, compressed, or expanded.
|
# -t, --style NAME Output style. Can be nested (default), compact, compressed, or expanded.
|
||||||
complete -c scss -s t -l style -x -a "nested compact compressed expanded" -A -d "Output style. Can be nested (default), compact, compressed, or expanded."
|
complete -c scss -s t -l style -x -a "nested compact compressed expanded" -d "Output style. Can be nested (default), compact, compressed, or expanded."
|
||||||
# -?, -h, --help Show this help message.
|
# -?, -h, --help Show this help message.
|
||||||
complete -c scss -s '?' -s h -l help -f -d "Show help message."
|
complete -c scss -s '?' -s h -l help -f -d "Show help message."
|
||||||
# -v, --version Print the Sass version.
|
# -v, --version Print the Sass version.
|
||||||
|
@ -44,7 +44,7 @@ complete -c scss -l sass -d "Use the indented Sass syntax."
|
||||||
# file: always absolute file URIs
|
# file: always absolute file URIs
|
||||||
# inline: include the source text in the sourcemap
|
# inline: include the source text in the sourcemap
|
||||||
# none: no sourcemaps
|
# none: no sourcemaps
|
||||||
complete -c scss -l sourcemap -x -A -d "How to link generated output to the source files." -a \
|
complete -c scss -l sourcemap -x -d "How to link generated output to the source files." -a \
|
||||||
"auto\t'(default) relative paths where possible, file URIs elsewhere'
|
"auto\t'(default) relative paths where possible, file URIs elsewhere'
|
||||||
file\t'always absolute file URIs'
|
file\t'always absolute file URIs'
|
||||||
inline\t'include the source text in the sourcemap'
|
inline\t'include the source text in the sourcemap'
|
||||||
|
|
Loading…
Reference in a new issue