diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-03-15 15:10:24 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-03-15 15:10:24 +0100 |
commit | b2d8dd95ef4c73266f0db2b3cb74ba6bd7f0f6c8 (patch) | |
tree | a9e789271d3509d44d21aedc1a358eba659ed759 /dmiopt.c | |
parent | abf98f6ec0ce25c284fbe71bdd56571ea7df5672 (diff) | |
parent | 67edb6d3e91421bc50fd51baa1f4ce214efb98c7 (diff) |
Update upstream source from tag 'upstream/3.5'
Update to upstream version '3.5'
with Debian dir db72f513f576b87fa257bef85b31b2c78cf42647
Diffstat (limited to 'dmiopt.c')
-rw-r--r-- | dmiopt.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -270,6 +270,7 @@ int parse_command_line(int argc, char * const argv[]) { "dev-mem", required_argument, NULL, 'd' }, { "help", no_argument, NULL, 'h' }, { "quiet", no_argument, NULL, 'q' }, + { "no-quirks", no_argument, NULL, 'Q' }, { "string", required_argument, NULL, 's' }, { "type", required_argument, NULL, 't' }, { "dump", no_argument, NULL, 'u' }, @@ -302,6 +303,9 @@ int parse_command_line(int argc, char * const argv[]) case 'q': opt.flags |= FLAG_QUIET; break; + case 'Q': + opt.flags |= FLAG_NO_QUIRKS; + break; case 's': if (parse_opt_string(optarg) < 0) return -1; @@ -371,6 +375,7 @@ void print_help(void) " -d, --dev-mem FILE Read memory from device FILE (default: " DEFAULT_MEM_DEV ")\n" " -h, --help Display this help text and exit\n" " -q, --quiet Less verbose output\n" + " --no-quirks Decode everything without quirks\n" " -s, --string KEYWORD Only display the value of the given DMI string\n" " -t, --type TYPE Only display the entries of given type\n" " -H, --handle HANDLE Only display the entry of given handle\n" |