diff options
Diffstat (limited to 'scripts/cp-untrans')
-rwxr-xr-x | scripts/cp-untrans | 12 |
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- )" |