chiark / gitweb /
bash-completion: use printf instead of echo
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 9 May 2012 07:36:20 +0000 (09:36 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 9 May 2012 07:44:09 +0000 (09:44 +0200)
commitf6a68149479a0746fe753deba1bfbf26eb13566f
treedd0b293e43db0179ef773d9f6a69b19a2d2af3f6
parentf3b17661550da58231139e6aa37848172a385fd2
bash-completion: use printf instead of echo

If the expanded argument begins with '-', echo would try to interpret
it as options.
printf does not have this problem. Use it everywhere.
bash-completion/systemd-bash-completion.sh