diff options
author | Jean Delvare <jdelvare@suse.de> | 2005-10-04 16:17:01 +0000 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2005-10-04 16:17:01 +0000 |
commit | 8953549ddf7331c54289dde19937fe82b1d2cc4a (patch) | |
tree | 614957657ceb2a021fb31072da0b0c04cb41e55b /vpdopt.c | |
parent | a69418f169525d69dd2b7a10eb342d949c41ec41 (diff) | |
download | dmidecode-git-8953549ddf7331c54289dde19937fe82b1d2cc4a.tar.gz |
Display the list of all valid string keywords when --string, is used
without an argument or with an invalid one.
Diffstat (limited to 'vpdopt.c')
-rw-r--r-- | vpdopt.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -122,6 +122,13 @@ int parse_command_line(int argc, char * const argv[]) opt.flags|=FLAG_VERSION; break; case '?': + switch(optopt) + { + case 's': + fprintf(stderr, "String keyword expected\n"); + print_opt_string_list(); + break; + } return -1; } |