Remove more complete "-u" and "-A" switches

Some of these were missed in #3660.
This commit is contained in:
Fabian Homborg 2016-12-21 13:07:27 +01:00
parent d8a9e11c32
commit 05ab849b72
11 changed files with 2 additions and 23 deletions

View File

@ -10,5 +10,3 @@ complete -c configure -l exec-prefix --description "Architecture-dependent insta
complete -c configure -l build --description "Configure for building on BUILD" -x
complete -c configure -l host --description "Cross-compile to build programs to run on HOST" -x
complete -c configure -l target --description "Configure for building compilers for TARGET" -x
complete -c configure -u

View File

@ -3,4 +3,3 @@ complete -c echo -s s --description "Do not separate arguments with spaces"
complete -c echo -s E --description "Disable backslash escapes"
complete -c echo -s e --description "Enable backslash escapes"
complete -c echo -s h -l help --description "Display help and exit"
complete -c echo -u

View File

@ -7,6 +7,3 @@ complete -c env -s i -l ignore-environment --description "Start with an empty en
complete -c env -s u -l unset --description "Remove variable from the environment" -x -a "(set -n)"
complete -c env -l help --description "Display help and exit"
complete -c env -l version --description "Display version and exit"
# Since env runs subcommands, it can accept any switches
complete -c env -u

View File

@ -25,7 +25,7 @@ end
complete -c journalctl -n "not __fish_journalctl_is_field" -a '(__fish_journalctl_fields)' -d "Journal field" -f
complete -c journalctl -n "not __fish_journalctl_is_field" -a '(command journalctl -F _EXE ^/dev/null)' -d "Executable"
complete -c journalctl -n "not __fish_journalctl_is_field" -a '+' -d "OR"
complete -c journalctl -n "__fish_journalctl_is_field" -a '(__fish_journalctl_field_values)' -f -r -A
complete -c journalctl -n "__fish_journalctl_is_field" -a '(__fish_journalctl_field_values)' -f -r
complete -c journalctl -f -s h -l help -d 'Prints a short help text and exits'
complete -c journalctl -f -l version -d 'Prints a short version string and exits'

View File

@ -21,6 +21,3 @@ complete -c mosh -f -l predict --description 'Controls use of speculative local
complete -c mosh -s a --description 'Synonym for --predict=always'
complete -c mosh -s n --description 'Synonym for --predict=never'
complete -c mosh -s p -l port --description 'Use a particular server-side UDP port or port range'
# Since mosh runs subcommands, it can accept any switches
complete -c mosh -u

View File

@ -82,6 +82,4 @@ complete -c mplayer -o vfm -x --description "Video output" -a "
complete -c mplayer -l help --description "Display help and exit"
complete -c mplayer -l version --description "Display version and exit"
complete -c mplayer -u
set -e mplayer_lang

View File

@ -78,5 +78,3 @@ complete -c set -n '__fish_set_is_color' -s o -l bold --description 'Make font b
complete -c set -n '__fish_is_first_token' -x -a '$__fish_locale_vars' -d 'Locale variable'
complete -c set -n '__fish_set_is_locale' -x -a '(locale -a)' -d (_ Locale)
complete -c set -s L -l long -d 'Do not truncate long lines'
complete -c set -u

View File

@ -46,6 +46,3 @@ complete -c ssh -s X --description "Enable X11 forwarding"
complete -c ssh -s L --description "Locally forwarded ports"
complete -c ssh -s R --description "Remotely forwarded ports"
complete -c ssh -s D --description "Dynamic port forwarding"
# Since ssh runs subcommands, it can accept any switches
complete -c ssh -u

View File

@ -24,5 +24,3 @@ complete -c sudo -s u -a "(__fish_complete_users)" -x -d "Run command as user"
complete -c sudo -s v -n "__fish_no_arguments" -d "Validate the credentials, extending timeout"
complete -c sudo -d "Command to run" -x -a "(__fish_complete_subcommand_root -u -g)"
# Since sudo runs subcommands, it can accept any switches
complete -c sudo -u

View File

@ -21,7 +21,7 @@ complete -c systemd-nspawn -s L -l selinux-apifs-context -d 'Sets the SELinux se
complete -c systemd-nspawn -l capability -d 'Grant additional capabilities to the container'
complete -c systemd-nspawn -l drop-capability -d 'Drop capabilities from the container'
complete -c systemd-nspawn -l kill-signal -d "Signal to send to the container's PID1 when nspawn receives SIGTERM"
complete -c systemd-nspawn -l link-journal -d 'Set container journal visibility' -a 'no host try-host guest try-guest auto' -r -A
complete -c systemd-nspawn -l link-journal -d 'Set container journal visibility' -a 'no host try-host guest try-guest auto' -r
complete -c systemd-nspawn -s j -d 'Equivalent to --link-journal=try-guest'
complete -c systemd-nspawn -l read-only -d 'Mount the root file system read-only for the container'
complete -c systemd-nspawn -l bind -l bind-ro -d 'Bind mount a file or directory from the host in the container' -r

View File

@ -8,6 +8,3 @@ complete -c time -s a -l append -n "__fish_no_arguments" --description "(Used to
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