diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-05-31 08:21:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-31 08:21:20 +0000 |
commit | c38ccba483397ac39646202dbf4a9cab5a80cc18 (patch) | |
tree | d39c1dd5d75aca9223a8e76987b21d9416ae37f8 /tools | |
parent | 65379df4451fa906e1dfee6bf7100c4555be831a (diff) | |
download | rockbox-c38ccba483397ac39646202dbf4a9cab5a80cc18.tar.gz rockbox-c38ccba483397ac39646202dbf4a9cab5a80cc18.zip |
made it support --help or -h as arguments, and then displays a very short
and really not very helpful message but now you know where to fill in that
very large and friendly help text you want the users to see! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@845 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 307f66aa70..f60b4bfc16 100755 --- a/tools/configure +++ b/tools/configure @@ -72,6 +72,13 @@ EOF echo "Created Makefile" } +if [ "$target" = "--help" -o \ + "$target" = "-h" ]; then + echo "Just invoke the script and answer the questions." + echo "This script will write a Makefile for you" + exit +fi + # get our current directory pwd=`pwd`; |