mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:06:49 +08:00
completions/fastboot: declare -s as taking an argument, add argument completions
This commit is contained in:
parent
23a8967ecb
commit
0b3e9609f1
|
@ -26,7 +26,7 @@ complete -c fastboot -s v -l verbose -d 'Verbose output'
|
|||
complete -c fastboot -l version -d 'Display version'
|
||||
|
||||
complete -n "not __fish_seen_subcommand_from $commands" -c fastboot -s w -d 'Wipe userdata'
|
||||
complete -n "not __fish_seen_subcommand_from $commands" -c fastboot -s s -d 'Specify a device'
|
||||
complete -n "not __fish_seen_subcommand_from $commands" -c fastboot -s s -x -a "(fastboot devices)" -d 'Specify a device'
|
||||
complete -n "not __fish_seen_subcommand_from $commands" -c fastboot -s S -d 'Break into sparse files no larger than SIZE'
|
||||
complete -n "not __fish_seen_subcommand_from $commands" -c fastboot -l slot -d 'Use SLOT; \'all\' for both slots, \'other\' for non-current slot (default: current active slot)' -xa "all other a b"
|
||||
complete -n "not __fish_seen_subcommand_from $commands" -c fastboot -l set-active -d 'Sets the active slot before rebooting' -xa "a b"
|
||||
|
|
Loading…
Reference in New Issue
Block a user