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 | |
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
-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 | |||
72 | echo "Created Makefile" | 72 | echo "Created Makefile" |
73 | } | 73 | } |
74 | 74 | ||
75 | if [ "$target" = "--help" -o \ | ||
76 | "$target" = "-h" ]; then | ||
77 | echo "Just invoke the script and answer the questions." | ||
78 | echo "This script will write a Makefile for you" | ||
79 | exit | ||
80 | fi | ||
81 | |||
75 | # get our current directory | 82 | # get our current directory |
76 | pwd=`pwd`; | 83 | pwd=`pwd`; |
77 | 84 | ||