Signed-off-by: Gordian Edenhofer <gordian.edenho...@gmail.com>
---
 contrib/paclist.sh.in | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/contrib/paclist.sh.in b/contrib/paclist.sh.in
index f4fd540..156f9d3 100644
--- a/contrib/paclist.sh.in
+++ b/contrib/paclist.sh.in
@@ -31,13 +31,15 @@ if ! type gettext &>/dev/null; then
 fi
 
 usage() {
-       printf "%s (pacman) v%s\n" "${myname}" "${myver}"
+       printf "%s (pacman) %s\n" "$myname" "$myver"
        echo
-       printf "List all packages installed from a given repository\n" 
"${myname}"
+       printf -- "$(gettext "List all packages installed from a given 
repository")\n"
        echo
-       printf "Usage: %s <repository>\n" "${myname}"
+       printf -- "$(gettext "Usage: %s <repository>")\n" "$0"
+       echo
+       printf -- "$(gettext "Examples:")"
+       printf -- "    %s testing\n" "$myname"
        echo
-       printf "Example: %s testing\n" "${myname}"
 }
 
 version() {
-- 
2.10.0

Reply via email to