mirror of
https://github.com/acpica/acpica/
synced 2025-01-13 12:59:18 +03:00
acpiexec: update usage message.
Now supports multiple AML input files.
This commit is contained in:
parent
e9491d3ef6
commit
a8bd1a5691
@ -130,6 +130,9 @@ char BatchBuffer[128];
|
||||
AE_TABLE_DESC *AeTableListHead = NULL;
|
||||
|
||||
|
||||
#define AE_SUPPORTED_OPTIONS "?ab:de^ghimo:rstvx:z"
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
* FUNCTION: usage
|
||||
@ -145,7 +148,7 @@ AE_TABLE_DESC *AeTableListHead = NULL;
|
||||
static void
|
||||
usage (void)
|
||||
{
|
||||
printf ("Usage: acpiexec [Options] [InputFile]\n\n");
|
||||
printf ("Usage: acpiexec [options] AMLfile1 AMLfile2 ...\n\n");
|
||||
|
||||
printf ("Where:\n");
|
||||
printf (" -? Display this message\n");
|
||||
@ -351,7 +354,7 @@ main (
|
||||
|
||||
/* Get the command line options */
|
||||
|
||||
while ((j = AcpiGetopt (argc, argv, "?ab:de^gimo:rstvx:z")) != EOF) switch(j)
|
||||
while ((j = AcpiGetopt (argc, argv, AE_SUPPORTED_OPTIONS)) != EOF) switch(j)
|
||||
{
|
||||
case 'a':
|
||||
AcpiGbl_IgnoreErrors = TRUE;
|
||||
@ -434,6 +437,7 @@ main (
|
||||
break;
|
||||
|
||||
case '?':
|
||||
case 'h':
|
||||
default:
|
||||
usage();
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user