summaryrefslogtreecommitdiffstats
path: root/source/compiler/aslmain.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
committerjkim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
commitdbd90a99cde8c4a942a41f095faa72f479694173 (patch)
treeadad4747b5f7a0166c805c0a7a6bdd4c884aa24b /source/compiler/aslmain.c
parentbed871bb76b9fc47b3a3595700ef242f22f33ea4 (diff)
downloadFreeBSD-src-dbd90a99cde8c4a942a41f095faa72f479694173.zip
FreeBSD-src-dbd90a99cde8c4a942a41f095faa72f479694173.tar.gz
Import 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 0e3e34d..568f395 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 */
OpenPOWER on IntegriCloud