diff options
author | Guillem Jover <guillem@debian.org> | 2006-09-30 16:57:12 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2006-09-30 16:57:12 +0000 |
commit | 241e6b700f49d8570e7936a037a1adc403b6fb97 (patch) | |
tree | 85ff326fb9663d6b3a1117d9a56e5544df9fc990 /scripts/cp-untrans | |
parent | d56828fc75b8d7f69b76f6679d71fb092d258a80 (diff) | |
download | installation-guide-241e6b700f49d8570e7936a037a1adc403b6fb97.zip |
Add command-line usage information.
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- )" |