Mercurial > mplayer.hg
changeset 28432:eb42079ed5f7
Print an error message when given insufficient parameters.
author | diego |
---|---|
date | Wed, 04 Feb 2009 19:17:03 +0000 |
parents | 24ea323322a1 |
children | 701150ac1b54 |
files | help/help_create.sh |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/help/help_create.sh Wed Feb 04 19:08:44 2009 +0000 +++ b/help/help_create.sh Wed Feb 04 19:17:03 2009 +0000 @@ -3,6 +3,12 @@ # Missing messages are filled in from the master message file and, if # requested, character set conversion is performed. +if test -z $2 ; then + echo "Error: missing parameters" + echo "Usage: $0 <messages file> <character set>" + exit 1 +fi + MASTER=help/help_mp-en.h TARGET=help_mp.h