Skip to content

Commit

Permalink
[scripts] print usage if command is missing
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information
hxw committed Jul 15, 2011
1 parent 3067354 commit f60281a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/ProcessAll
Expand Up @@ -85,9 +85,11 @@ ja
ko
nl
no
pl
pt
ru
sr
tr
zh
'

Expand All @@ -107,6 +109,7 @@ done
AllLanguages="${AllLanguages## }"
AllCSV="${AllCSV##,}"

[ $# -eq 0 ] && USAGE missing command

for command in $@
do
Expand Down

0 comments on commit f60281a

Please sign in to comment.