aboutsummaryrefslogtreecommitdiff
path: root/source/compiler/aslmain.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
commit8724452f676e45bfd39cfb47234f7def5551f067 (patch)
treeadad4747b5f7a0166c805c0a7a6bdd4c884aa24b /source/compiler/aslmain.c
parentafea6800ce201481ac6ebace2b4266b3b1b15d6e (diff)
downloadsrc-1d150779446576a96eb87b1ee09e2c5b46e6c65f.tar.gz
src-1d150779446576a96eb87b1ee09e2c5b46e6c65f.zip
Import ACPICA 20120711.vendor/acpica/20120711
Diffstat (limited to 'source/compiler/aslmain.c')
-rw-r--r--source/compiler/aslmain.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/compiler/aslmain.c b/source/compiler/aslmain.c
index 0e3e34d2bd95..568f395becf8 100644
--- a/source/compiler/aslmain.c
+++ b/source/compiler/aslmain.c
@@ -96,7 +96,7 @@ AslDoResponseFile (
#define ASL_TOKEN_SEPARATORS " \t\n"
-#define ASL_SUPPORTED_OPTIONS "@:2b|c|d^D:e:fgh^i|I:l^mno|p:P^r:s|t|T:G^v|w|x:z"
+#define ASL_SUPPORTED_OPTIONS "@:2b|c|d^D:e:fgh^i|I:l^mno|p:P^r:s|t|T:G^v^w|x:z"
/*******************************************************************************
@@ -119,6 +119,7 @@ Options (
printf ("\nGlobal:\n");
ACPI_OPTION ("-@ <file>", "Specify command file");
ACPI_OPTION ("-I <dir>", "Specify additional include directory");
+ ACPI_OPTION ("-v", "Display compiler version");
printf ("\nPreprocessor:\n");
ACPI_OPTION ("-D <symbol>", "Define symbol for preprocessor use");
@@ -751,9 +752,13 @@ AslDoOptions (
break;
- case 'v': /* Verbosity settings */
+ case 'v': /* Version and verbosity settings */
switch (AcpiGbl_Optarg[0])
{
+ case '^':
+ printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
+ exit (0);
+
case 'a':
/* Disable All error/warning messages */