diff --git a/share/completions/blender.fish b/share/completions/blender.fish index ada9942a5..1a7cc99d0 100644 --- a/share/completions/blender.fish +++ b/share/completions/blender.fish @@ -112,7 +112,7 @@ complete -c blender -l verbose -d 'specify logging verbosity level' -x complete -c blender -l gpu-backend -a 'vulkan metal opengl' -d 'specify GPI backend' -x complete -c blender -l open-last -d 'open the most recent .blend file' -complete -c blender -l open-last -a 'default' -d 'specify app template' -r +complete -c blender -l open-last -a default -d 'specify app template' -r complete -c blender -l factory-startup -d 'do not read startup.blend' complete -c blender -l enable-event-simulate -d 'enable event simulation' complete -c blender -l env-system-datafiles -d 'set BLENDER_SYSTEM_DATAFILES variable' @@ -122,4 +122,3 @@ complete -c blender -o noaudio -d 'disable sound' complete -c blender -o setaudio -a 'None SDL OpenAL CoreAudio JACK PulseAudio WASAPI' -d 'specify sound device' -x complete -c blender -s R -d 'register .blend extension' complete -c blender -s r -d 'silently register .blend extension' - diff --git a/share/completions/checkinstall.fish b/share/completions/checkinstall.fish index 6040164fc..c74d0cdcd 100644 --- a/share/completions/checkinstall.fish +++ b/share/completions/checkinstall.fish @@ -75,4 +75,4 @@ complete -c checkinstall -x -l backup -a "$yn" -d "Toggle backup" # About checkinstall complete -c checkinstall -f -o h -l help -d "Show help" complete -c checkinstall -f -l copyright -d "Show Copyright information" -complete -c checkinstall -f -l version -d "Show version information" \ No newline at end of file +complete -c checkinstall -f -l version -d "Show version information" diff --git a/share/completions/gcc.fish b/share/completions/gcc.fish index 6a7ca6d57..39068a06e 100644 --- a/share/completions/gcc.fish +++ b/share/completions/gcc.fish @@ -263,8 +263,8 @@ complete -c gcc -o dumpmachine -d 'Print the compiler’s target machine (for ex complete -c gcc -o dumpversion -d 'Print the compiler version (for example, 3.0,6.3 or 7)---and don’t do anything else' complete -c gcc -o dumpspecs -d 'Print the compiler’s built-in specs---and don’t do anything else' complete -c gcc -o feliminate-unused-debug-types -d 'Normally, when producing DWARF2 output, GCC will emit debugging information for all types declared in a compilation unit, regardless of whether or not they are actually used in that compilation unit' -complete -c gcc -o O -d 'Optimize' -complete -c gcc -o O1 -d 'Optimize' +complete -c gcc -o O -d Optimize +complete -c gcc -o O1 -d Optimize complete -c gcc -o O2 -d 'Optimize even more' complete -c gcc -o O3 -d 'Optimize yet more' complete -c gcc -o O0 -d 'Do not optimize' diff --git a/share/completions/gimp.fish b/share/completions/gimp.fish index fcbaace37..655c9d19e 100644 --- a/share/completions/gimp.fish +++ b/share/completions/gimp.fish @@ -26,4 +26,4 @@ complete -c gimp -l debug-handlers -d 'enable debug handlers' complete -c gimp -l stack-trace-mode -d 'whether generate stack-trace in case of fatal signals' -a 'never query always' -x complete -c gimp -l pdb-compat-mode -d 'whether PDB provides aliases for deprecated functions' -a 'off on warn' -x complete -c gimp -l batch-interpreter -d 'run procedure to use to process batch events' -r -complete -c gimp -s b -l batch -d 'run command non-interactively' -a '-' -r +complete -c gimp -s b -l batch -d 'run command non-interactively' -a - -r diff --git a/share/completions/iwctl.fish b/share/completions/iwctl.fish index 5384d686c..ed055d136 100644 --- a/share/completions/iwctl.fish +++ b/share/completions/iwctl.fish @@ -39,7 +39,7 @@ function __iwctl_match_subcoms set argv (commandline -poc) # iwctl allows to specify arguments for username, password, passphrase and dont-ask regardless of any following commands - argparse -i 'u/username=' 'p/password=' 'P/passphrase=' 'v/dont-ask' -- $argv + argparse -i 'u/username=' 'p/password=' 'P/passphrase=' v/dont-ask -- $argv set argv $argv[2..] if test (count $argv) != (count $match) @@ -56,7 +56,7 @@ end function __iwctl_connect set argv (commandline -poc) # remove all options - argparse -i 'u/username=' 'p/password=' 'P/passphrase=' 'v/dont-ask' -- $argv + argparse -i 'u/username=' 'p/password=' 'P/passphrase=' v/dont-ask -- $argv # station name should now be the third argument (`iwctl station `) for network in (__iwctl_filter station $argv[3] get-networks rssi-dbms --all-columns) set network (string split \t -- $network) @@ -97,7 +97,7 @@ complete -c iwctl -s P -l passphrase -rf complete -c iwctl -s v -l dont-ask -d "Don't ask for missing credentials" # Subcommand -complete -c iwctl -n '__iwctl_match_subcoms' \ +complete -c iwctl -n __iwctl_match_subcoms \ -a "ad-hoc adapter ap debug device dpp exit help known-networks quit station version wsc" # ad-hoc @@ -108,14 +108,14 @@ complete -c iwctl -n '__iwctl_match_subcoms "ad-hoc *"' -n 'not __iwctl_match_su complete -c iwctl -n '__iwctl_match_subcoms "ad-hoc *"' -n 'not __iwctl_match_subcoms ad-hoc list' -a stop -d "Leave an Ad-Hoc network" # adapter -complete -c iwctl -n '__iwctl_match_subcoms adapter' -a "list" -d "List adapters" +complete -c iwctl -n '__iwctl_match_subcoms adapter' -a list -d "List adapters" complete -c iwctl -n '__iwctl_match_subcoms adapter' -a "(__iwctl_filter adapter list)" -complete -c iwctl -n '__iwctl_match_subcoms "adapter *"' -n 'not __iwctl_match_subcoms adapter list' -a "show" -d "Show adapter info" -complete -c iwctl -n '__iwctl_match_subcoms "adapter *"' -n 'not __iwctl_match_subcoms adapter list' -a "set-property" -d "Set property" +complete -c iwctl -n '__iwctl_match_subcoms "adapter *"' -n 'not __iwctl_match_subcoms adapter list' -a show -d "Show adapter info" +complete -c iwctl -n '__iwctl_match_subcoms "adapter *"' -n 'not __iwctl_match_subcoms adapter list' -a set-property -d "Set property" # TODO implement completions for `properties`, i.e. all rows with `*` in first column # ap -complete -c iwctl -n '__iwctl_match_subcoms ap' -a "list" -d "List devices in AP mode" +complete -c iwctl -n '__iwctl_match_subcoms ap' -a list -d "List devices in AP mode" complete -c iwctl -n '__iwctl_match_subcoms ap' -a "(__iwctl_filter ap list)" complete -c iwctl -n '__iwctl_match_subcoms "ap *"' -n 'not __iwctl_match_subcoms ap list' -a start -d "Start an access point" complete -c iwctl -n '__iwctl_match_subcoms "ap *"' -n 'not __iwctl_match_subcoms ap list' -a start-profile -d "Start an access point based on a disk profile" @@ -131,14 +131,14 @@ complete -c iwctl -n '__iwctl_match_subcoms "debug *"' -a autoconnect -d "Set au complete -c iwctl -n '__iwctl_match_subcoms "debug * autoconnect"' -a "on off" -d "Set autoconnect property" # device -complete -c iwctl -n '__iwctl_match_subcoms device' -a "list" -d "List devices" +complete -c iwctl -n '__iwctl_match_subcoms device' -a list -d "List devices" complete -c iwctl -n '__iwctl_match_subcoms device' -a "(__iwctl_filter device list)" -complete -c iwctl -n '__iwctl_match_subcoms "device *"' -n 'not __iwctl_match_subcoms device list' -a "show" -d "Show device info" -complete -c iwctl -n '__iwctl_match_subcoms "device *"' -n 'not __iwctl_match_subcoms device list' -a "set-property" -d "Set property" +complete -c iwctl -n '__iwctl_match_subcoms "device *"' -n 'not __iwctl_match_subcoms device list' -a show -d "Show device info" +complete -c iwctl -n '__iwctl_match_subcoms "device *"' -n 'not __iwctl_match_subcoms device list' -a set-property -d "Set property" # TODO implement completions for `properties`, i.e. all rows with `*` in first column # dpp -complete -c iwctl -n '__iwctl_match_subcoms dpp' -a "list" -d "List DPP-capable devices" +complete -c iwctl -n '__iwctl_match_subcoms dpp' -a list -d "List DPP-capable devices" complete -c iwctl -n '__iwctl_match_subcoms dpp' -a "(__iwctl_filter dpp list)" complete -c iwctl -n '__iwctl_match_subcoms "dpp *"' -n 'not __iwctl_match_subcoms dpp list' -a start-enrollee -d "Starts a DPP Enrollee" complete -c iwctl -n '__iwctl_match_subcoms "dpp *"' -n 'not __iwctl_match_subcoms dpp list' -a start-configurator -d "Starts a DPP Configurator" @@ -147,28 +147,28 @@ complete -c iwctl -n '__iwctl_match_subcoms "dpp *"' -n 'not __iwctl_match_subco # known-networks # TODO Does not support SSIDs ending/starting on whitespace. Not sure how to fix. -complete -c iwctl -n '__iwctl_match_subcoms known-networks' -a "list" -d "List known networks" +complete -c iwctl -n '__iwctl_match_subcoms known-networks' -a list -d "List known networks" complete -c iwctl -n '__iwctl_match_subcoms known-networks' -a "(__iwctl_filter known-networks list)" complete -c iwctl -n '__iwctl_match_subcoms "known-networks *"' -n 'not __iwctl_match_subcoms known-networks list' -a forget -d "Forget a known network" complete -c iwctl -n '__iwctl_match_subcoms "known-networks *"' -n 'not __iwctl_match_subcoms known-networks list' -a show -d "Show nown network" complete -c iwctl -n '__iwctl_match_subcoms "known-networks *"' -n 'not __iwctl_match_subcoms known-networks list' -a set-property -d "Set property" # station -complete -c iwctl -n '__iwctl_match_subcoms station' -a "list" -d "List devices in Station mode" +complete -c iwctl -n '__iwctl_match_subcoms station' -a list -d "List devices in Station mode" complete -c iwctl -n '__iwctl_match_subcoms station' -a "(__iwctl_filter station list)" complete -c iwctl -n '__iwctl_match_subcoms "station *"' -n 'not __iwctl_match_subcoms station list' -a connect -d "Connect to network" complete -c iwctl -n '__iwctl_match_subcoms "station * connect"' -a "(__iwctl_connect)" -d "Connect to network" --keep-order complete -c iwctl -n '__iwctl_match_subcoms "station *"' -n 'not __iwctl_match_subcoms station list' -a connect-hidden -d "Connect to hidden network" -complete -c iwctl -n '__iwctl_match_subcoms "station *"' -n 'not __iwctl_match_subcoms station list' -a disconnect -d "Disconnect" +complete -c iwctl -n '__iwctl_match_subcoms "station *"' -n 'not __iwctl_match_subcoms station list' -a disconnect -d Disconnect complete -c iwctl -n '__iwctl_match_subcoms "station *"' -n 'not __iwctl_match_subcoms station list' -a get-networks -d "Get networks" complete -c iwctl -n '__iwctl_match_subcoms "station * get-networks"' -a "rssi-dbms rssi-bars" complete -c iwctl -n '__iwctl_match_subcoms "station *"' -n 'not __iwctl_match_subcoms station list' -a get-hidden-access-points -d "Get hidden APs" -complete -c iwctl -n '__iwctl_match_subcoms "station * get-hidden-access-points"' -a "rssi-dbms" +complete -c iwctl -n '__iwctl_match_subcoms "station * get-hidden-access-points"' -a rssi-dbms complete -c iwctl -n '__iwctl_match_subcoms "station *"' -n 'not __iwctl_match_subcoms station list' -a scan -d "Scan for networks" complete -c iwctl -n '__iwctl_match_subcoms "station *"' -n 'not __iwctl_match_subcoms station list' -a show -d "Show station info" # wsc -complete -c iwctl -n '__iwctl_match_subcoms wsc' -a "list" -d "List WSC-capable devices" +complete -c iwctl -n '__iwctl_match_subcoms wsc' -a list -d "List WSC-capable devices" complete -c iwctl -n '__iwctl_match_subcoms wsc' -a "(__iwctl_filter wsc list)" complete -c iwctl -n '__iwctl_match_subcoms "wsc *"' -n 'not __iwctl_match_subcoms wsc list' -a push-button -d "PushButton Mode" complete -c iwctl -n '__iwctl_match_subcoms "wsc *"' -n 'not __iwctl_match_subcoms wsc list' -a start-user-pin -d "PIN mode" diff --git a/share/completions/node.fish b/share/completions/node.fish index 7900d3ab0..871250f52 100644 --- a/share/completions/node.fish +++ b/share/completions/node.fish @@ -161,10 +161,10 @@ complete -c node -l randomize_hashes -d 'randomize hashes(w/ snapshots cannot ov complete -c node -l hash_seed -d 'Fix seed to hash prop. key(w/ snapshots no BI seed overr.)' complete -c node -l preemption -d 'activate a 100ms timer that switches between V8 threads' complete -c node -l regexp_optimization -d 'generate optimized regexp code' -complete -c node -l testing_bool_flag -d 'testing_bool_flag' -complete -c node -l testing_int_flag -d 'testing_int_flag' -complete -c node -l testing_float_flag -d 'float-flag' -complete -c node -l testing_string_flag -d 'string-flag' +complete -c node -l testing_bool_flag -d testing_bool_flag +complete -c node -l testing_int_flag -d testing_int_flag +complete -c node -l testing_float_flag -d float-flag +complete -c node -l testing_string_flag -d string-flag complete -c node -l testing_prng_seed -d 'Seed used for threading test randomness' complete -c node -l testing_serialization_file -d 'file in which to serialize heap' complete -c node -l help -d 'Print usage message, including flags, on console' diff --git a/share/completions/watchexec.fish b/share/completions/watchexec.fish index d91fdb7f3..075b9d68e 100644 --- a/share/completions/watchexec.fish +++ b/share/completions/watchexec.fish @@ -18,13 +18,13 @@ function __fish_watchexec_print_remaining_args end function __fish_watchexec_complete_subcommand - set -l args (__fish_watchexec_print_remaining_args | string split0) + set -l args (__fish_watchexec_print_remaining_args | string split0) complete -C "$args" end function __fish_watchexec_at_argfile set -l current (commandline -ct) - if test (count (commandline -opc)) -eq 1 + if test (count (commandline -opc)) -eq 1 and string match -q '@*' -- $current set current (string sub -s 2 -- $current) @@ -34,7 +34,7 @@ function __fish_watchexec_at_argfile return 1 end -complete -c watchexec -n "__fish_watchexec_at_argfile" -x -a "(__fish_watchexec_at_argfile)" +complete -c watchexec -n __fish_watchexec_at_argfile -x -a "(__fish_watchexec_at_argfile)" complete -c watchexec -x -a "(__fish_watchexec_complete_subcommand)" diff --git a/share/completions/zabbix_proxy.fish b/share/completions/zabbix_proxy.fish index ae7b9a63a..d7cbaf61f 100644 --- a/share/completions/zabbix_proxy.fish +++ b/share/completions/zabbix_proxy.fish @@ -21,7 +21,7 @@ function __fish_prepend -a prefix housekeeper \ "http poller" \ "icmp pinger" \ - "ipmi manager" \ + "ipmi manager" \ "ipmi poller" \ "java poller" \ poller \ diff --git a/share/functions/__fish_anypager.fish b/share/functions/__fish_anypager.fish index 3546ca984..3c8325726 100644 --- a/share/functions/__fish_anypager.fish +++ b/share/functions/__fish_anypager.fish @@ -5,7 +5,7 @@ function __fish_anypager --description "Print a pager to use" and echo $PAGER | read -at pager # or even $MANPAGER if we're allowed to - if test "$argv[1]" = "--with-manpager" + if test "$argv[1]" = --with-manpager set -q MANPAGER and echo $MANPAGER | read -at pager end