format: remove trailing whitespace

Part of #12408
This commit is contained in:
Daniel Rainer
2026-02-02 17:42:25 +01:00
committed by Johannes Altmanninger
parent e0916e793b
commit 7360deee74
9 changed files with 16 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ complete -n '__fish_seen_subcommand_from apk; and __fish_seen_subcommand_from co
complete -n "__fish_seen_subcommand_from apk; and __fish_seen_subcommand_from $apk_subcommands" -c apkanalyzer -ka '(__fish_complete_suffix .apk)'
# files
# files
complete -f -n "__fish_seen_subcommand_from files; and not __fish_seen_subcommand_from $apk_subcommands" -c apkanalyzer -a list -d 'Lists all files in the APK'
complete -f -n "__fish_seen_subcommand_from files; and not __fish_seen_subcommand_from $apk_subcommands" -c apkanalyzer -a cat -d 'Prints out the file contents'
# files options
@@ -69,7 +69,7 @@ complete -n '__fish_seen_subcommand_from dex; and __fish_seen_subcommand_from co
complete -n "__fish_seen_subcommand_from dex; and __fish_seen_subcommand_from $dex_subcommands" -c apkanalyzer -ka '(__fish_complete_suffix .apk)'
complete -n '__fish_seen_subcommand_from dex; and __fish_seen_subcommand_from code' -c apkanalyzer -ka '(__fish_complete_suffix .class)'
# resources
# resources
complete -f -n "__fish_seen_subcommand_from resources; and not __fish_seen_subcommand_from $resources_subcommands" -c apkanalyzer -a packages -d 'Prints a list of the packages that are defined in the resources table'
complete -f -n "__fish_seen_subcommand_from resources; and not __fish_seen_subcommand_from $resources_subcommands" -c apkanalyzer -a configs -d 'Prints a list of configurations for the specified type'
complete -f -n "__fish_seen_subcommand_from resources; and not __fish_seen_subcommand_from $resources_subcommands" -c apkanalyzer -a value -d 'Prints the value of the resource specified by config, name, and type'

View File

@@ -102,7 +102,7 @@ complete -f -c bzr -n '__fish_seen_subcommand_from check' -l tree -d 'Check the
complete -f -c bzr -n '__fish_seen_subcommand_from check' -l repo -d 'Check the repository related to the current directory'
complete -f -c bzr -n '__fish_seen_subcommand_from check' -l branch -d 'Check the branch related to the current directory'
# Common long/short options
# Common long/short options
set -l $cmds init branch add ignore mv status diff merge commit send log check
complete -f -c bzr -n '__fish_seen_subcommand_from $cmds' -l usage -d 'Show usage message and options'
complete -f -c bzr -n '__fish_seen_subcommand_from $cmds' -s h -l help -d 'Show help message'

View File

@@ -6,7 +6,7 @@ function __fish_complete_fab_tasks
end
end
# tasks
# tasks
complete -x -c fab -a "(__fish_complete_fab_tasks)"
# options

View File

@@ -168,7 +168,7 @@ complete -c pkg -n '__fish_pkg_is list' -xa '(pkg query "%n")'
# update
complete -c pkg -n '__fish_pkg_is add update' -s f -l force -d "Force a full download of a repository"
# alias
# alias
set -l with_package_names all-depends annotations build-depends cinfo comment csearch desc iinfo isearch \
list options origin provided-depends roptions shared-depends show size

View File

@@ -16,7 +16,7 @@ else
# macos: rm [-fidPRrvW ] file ...
# netbsd: rm [-fidPRrvWx ] file ...
# freebsd: rm [-fidPRrvWxI] file ...
# dragonfly: rm [-fidPRrvWxI] file ...
# dragonfly: rm [-fidPRrvWxI] file ...
complete -c rm -s f -d "Never prompt for removal"
complete -c rm -s i -d "Prompt for removal"

View File

@@ -9,13 +9,13 @@ if test "$(command -s shortcuts)" = /usr/bin/shortcuts
command shortcuts --generate-completion-script=fish | source
end
# output is like:
# output is like:
# function __fish_shortcuts_using_command
# set cmd (commandline -xpc)
# if test (count $cmd) -eq (count $argv)
# if test (count $cmd) -eq (count $argv)
# for i in (seq (count $argv))
# if test $cmd[$i] != $argv[$i]
# if test $cmd[$i] != $argv[$i]
# return 1
# end
# end

View File

@@ -1,5 +1,5 @@
# Sources:
# stow --help
# stow --help
# https://www.gnu.org/software/stow/manual/stow.html
# https://git.savannah.gnu.org/cgit/stow.git/tree/NEWS

View File

@@ -106,7 +106,7 @@ test -d
#CHECKERR: test: Missing argument at index 2
#CHECKERR: -d
#CHECKERR: ^
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: test -d
#CHECKERR: ^
@@ -114,14 +114,14 @@ test foo
#CHECKERR: test: Missing argument at index 2
#CHECKERR: foo
#CHECKERR: ^
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: test foo
#CHECKERR: ^
test ""
#CHECKERR: test: Missing argument at index 2
#CHECKERR: ^
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: test ""
#CHECKERR: ^
@@ -129,7 +129,7 @@ test -z "" -a foo
#CHECKERR: test: Missing argument at index 5
#CHECKERR: -z -a foo
#CHECKERR: ^
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: test -z "" -a foo
#CHECKERR: ^
@@ -138,7 +138,7 @@ echo $status
test
#CHECKERR: test: Expected at least one argument
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: {{.*}}test.fish (line {{\d+}}):
#CHECKERR: test
#CHECKERR: ^
#CHECKERR: (Type 'help test' for related documentation)

View File

@@ -8,7 +8,7 @@ ulimit --core-size
ulimit 4352353252352352334
#CHECKERR: ulimit: Invalid limit '4352353252352352334'
#CHECKERR:
#CHECKERR:
#CHECKERR: {{.*}}checks/ulimit.fish (line {{\d+}}):
#CHECKERR: ulimit 4352353252352352334
#CHECKERR: ^