diff mbox

[01/10] add -g 6 for Sandybridge

Message ID 1286609550-16083-2-git-send-email-haihao.xiang@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Xiang, Haihao Oct. 9, 2010, 7:32 a.m. UTC
None
diff mbox

Patch

diff --git a/src/main.c b/src/main.c
index 2757e96..7c0b579 100644
--- a/src/main.c
+++ b/src/main.c
@@ -49,7 +49,7 @@  static const struct option longopts[] = {
 
 static void usage(void)
 {
-	fprintf(stderr, "usage: intel-gen4asm [-o outputfile] [-g <4|5>] inputfile\n");
+	fprintf(stderr, "usage: intel-gen4asm [-o outputfile] [-g <4|5|6>] inputfile\n");
 }
 
 int main(int argc, char **argv)
@@ -70,7 +70,7 @@  int main(int argc, char **argv)
 		case 'g':
 			gen_level = strtol(optarg, NULL, 0);
 
-			if (gen_level < 4 || gen_level > 5) {
+			if (gen_level < 4 || gen_level > 6) {
 				usage();
 				exit(1);
 			}