From: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] show usage and abort if unknown option is passed to configure
Date: Mon, 22 Oct 2007 20:31:35 -0500 [thread overview]
Message-ID: <20071023013135.GC28795@tapir> (raw)
The following patch prints an error if an unknown option is passed to
configure and directs the script to show usage information.
Carlo
---
Index: configure
===================================================================
RCS file: /sources/qemu/qemu/configure,v
retrieving revision 1.165
diff -u -r1.165 configure
--- configure 18 Oct 2007 20:51:48 -0000 1.165
+++ configure 23 Oct 2007 01:23:58 -0000
@@ -306,6 +303,8 @@
*) echo "undefined SPARC architecture. Exiting";exit 1;;
esac
;;
+ *) echo "ERROR: unknown option $opt"; show_help="yes"
+ ;;
esac
done
reply other threads:[~2007-10-23 1:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071023013135.GC28795@tapir \
--to=carenas@sajinet.com.pe \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.