chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7db6997
)
bash_completion: fix option completion
author
Marcus Hoffmann
<bubuiic@aol.com>
Wed, 13 Sep 2017 12:02:04 +0000
(14:02 +0200)
committer
Marcus Hoffmann
<bubuiic@aol.com>
Wed, 13 Sep 2017 12:02:04 +0000
(14:02 +0200)
Line breaks need to be escaped in the command list.
completion/bash-completion
patch
|
blob
|
history
diff --git
a/completion/bash-completion
b/completion/bash-completion
index ef219122e6241f65b8be0d5254176928268c7671..dd1e5b29e3c8f9e6ca85bd8d084b2e68bcb2f9e5 100644
(file)
--- a/
completion/bash-completion
+++ b/
completion/bash-completion
@@
-300,26
+300,26
@@
__complete_init() {
__complete_options
}
__complete_options
}
-__cmds="
-btlog
-build
-checkupdates
-dscanner
-gpgsign
-import
-init
-install
-lint
-publish
-readmeta
-rewritemeta
-scanner
-server
-signatures
-signindex
-stats
-update
-verify
+__cmds="
\
+btlog
\
+build
\
+checkupdates
\
+dscanner
\
+gpgsign
\
+import
\
+init
\
+install
\
+lint
\
+publish
\
+readmeta
\
+rewritemeta
\
+scanner
\
+server
\
+signatures
\
+signindex
\
+stats
\
+update
\
+verify
\
"
for c in $__cmds; do
"
for c in $__cmds; do