summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-05 20:01:14 +0200
committerDan McGee <dan@archlinux.org>2011-07-06 04:38:07 +0200
commite2f00abe26c530a380ef687e50d91e07c6ba57c4 (patch)
treedd8c50690a3008bd9d1436e05746b089a74dc69e /scripts
parent62880d7568649a54b4af1ffd8a61b488cbacdfd3 (diff)
downloadpacman-e2f00abe26c530a380ef687e50d91e07c6ba57c4.tar.gz
pacman-e2f00abe26c530a380ef687e50d91e07c6ba57c4.tar.xz
pacman-key: fix syntax highlighting
The lone quotation mark in "pacman's" causes issues for some syntax highlighting. Change the printing of the nessage from echo to printf so we can invisibly escape it. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pacman-key.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index 877cca29..833943cb 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -33,7 +33,7 @@ usage() {
echo
printf "$(gettext "Usage: %s [options] <command> [arguments]")\n" $(basename $0)
echo
- echo "$(gettext "Manage pacman's list of trusted keys")"
+ printf "$(gettext "Manage pacman\'s list of trusted keys")\n"
echo
echo "$(gettext "Options must be placed before commands. The available options are:")"
printf "$(gettext " --config <file> Use an alternate config file (instead of '%s')")\n" "$CONFIG"