summaryrefslogtreecommitdiff
path: root/scripts/cp-untrans
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cp-untrans')
-rwxr-xr-xscripts/cp-untrans12
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/cp-untrans b/scripts/cp-untrans
index a41356097..199db8640 100755
--- a/scripts/cp-untrans
+++ b/scripts/cp-untrans
@@ -11,13 +11,19 @@
set -e
+language=${1:-pl}
+
if [ "$1" = "--help" ]; then
- echo "Usage: $0 language"
+ echo <<HELP
+Usage: $0 [<language>]
+
+ --help print this help message.
+
+Current <language> is '$language'.
+HELP
exit 0
fi
-language=${1:-pl}
-
UFILES="$(./scripts/doc-check $language 2>/dev/null | \
egrep "^en\/.* \(untranslated\)$" | \
cut -d" " -f1 | cut -d"/" -f2- )"