From 83ab4edc5a79c6e2ca0f4d394387d20c9aee7453 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 9 Jan 2014 12:37:20 -0300 Subject: [PATCH] Bug 11510: koha-translate usage message fixes The koha-translate's usage message has a couple of inconsistencies: '--all' should be '--available' and '--help' is missing from the usage examples. Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Works as described, tested using instructions on http://wiki.koha-community.org/wiki/Testing_man_pages Signed-off-by: Galen Charlton --- debian/docs/koha-translate.xml | 7 +++++++ debian/scripts/koha-translate | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/docs/koha-translate.xml b/debian/docs/koha-translate.xml index e06dede21f..7f97e8ea9b 100644 --- a/debian/docs/koha-translate.xml +++ b/debian/docs/koha-translate.xml @@ -25,6 +25,7 @@ koha-translate | | | | lang_code koha-translate | | + koha-translate | @@ -43,6 +44,12 @@ + + + Print usage information. + + + Install the specified lang_code language translation. diff --git a/debian/scripts/koha-translate b/debian/scripts/koha-translate index 0c731cf3e4..d0b3a2f79d 100755 --- a/debian/scripts/koha-translate +++ b/debian/scripts/koha-translate @@ -30,12 +30,12 @@ $scriptname This script lets you manage your Koha templates translations. Usage: -$scriptname --list|-l [--all|-a] +$scriptname --list|-l [--available|-a] $scriptname --check|-c language_code $scriptname --install|-i language_code $scriptname --update|-u language_code $scriptname --remove|-r language_code -$scriptname -h +$scriptname --help|-h -l | --list List the installed or available (combined with -a) language translations -- 2.39.5