[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] show usage and abort if unknown option is passed to
From: |
Carlo Marcelo Arenas Belon |
Subject: |
[Qemu-devel] [PATCH] show usage and abort if unknown option is passed to configure |
Date: |
Mon, 22 Oct 2007 20:31:35 -0500 |
User-agent: |
Mutt/1.4.1i |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] show usage and abort if unknown option is passed to configure,
Carlo Marcelo Arenas Belon <=