summaryrefslogtreecommitdiff
path: root/source/compiler/asloptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/asloptions.c')
-rw-r--r--source/compiler/asloptions.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c
index 15519634ae92..325ee4aca7ca 100644
--- a/source/compiler/asloptions.c
+++ b/source/compiler/asloptions.c
@@ -982,6 +982,23 @@ AslDoOptions (
AslGbl_WarningsAsErrors = TRUE;
break;
+ case 'w':
+
+ /* Get the required argument */
+
+ if (AcpiGetoptArgument (argc, argv))
+ {
+ return (-1);
+ }
+
+ Status = AslElevateException (AcpiGbl_Optarg);
+ if (ACPI_FAILURE (Status))
+ {
+ return (-1);
+ }
+ break;
+
+
default:
printf ("Unknown option: -w%s\n", AcpiGbl_Optarg);