diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2017-07-28 17:44:36 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2017-07-28 17:44:36 +0000 |
| commit | 834d4c5613e9c57c0b9fba46fa717fd7fb9d5891 (patch) | |
| tree | 610a3598ffcd1fdcb97c475a59bccac84f41bbdd /source/compiler/asloptions.c | |
| parent | 744d47ba98ced2e2a7d3aff2f894136544386e34 (diff) | |
Notes
Diffstat (limited to 'source/compiler/asloptions.c')
| -rw-r--r-- | source/compiler/asloptions.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c index 2dcd49402e04..6d39f6d25492 100644 --- a/source/compiler/asloptions.c +++ b/source/compiler/asloptions.c @@ -954,6 +954,22 @@ AslDoOptions ( } break; + case 'x': + + /* Get the required argument */ + + if (AcpiGetoptArgument (argc, argv)) + { + return (-1); + } + + Status = AslExpectException (AcpiGbl_Optarg); + if (ACPI_FAILURE (Status)) + { + return (-1); + } + break; + default: printf ("Unknown option: -v%s\n", AcpiGbl_Optarg); |
