[PATCH modular] Change order of help screen.

Trevor Woerner twoerner at gmail.com
Mon Oct 18 04:59:58 PDT 2010


From: Trevor Woerner <twoerner at gmail.com>

If the user is using a smaller screen, the command-line options may scroll
off leaving only the environment variables. Since the options are probably
more interesting to most users, display the environment variables first,
followed by the command-line options.

Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
 build.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.sh b/build.sh
index bbe4d46..75f0243 100755
--- a/build.sh
+++ b/build.sh
@@ -911,6 +911,8 @@ process_module_file() {
 }
 
 usage() {
+    envoptions
+    echo ""
     echo "Usage: $0 [options] prefix"
     echo "  where options are:"
     echo "  -a : do NOT run auto config tools (autogen.sh, configure)"
@@ -936,8 +938,6 @@ usage() {
     echo ""
     echo "Usage: $0 -L"
     echo "  -L : just list modules to build"
-    echo ""
-    envoptions
 }
 
 HAVE_ARCH="`uname -i`"
-- 
1.7.3.1.120.g38a18



More information about the xorg-devel mailing list