diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-07 18:00:12 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-07 18:00:12 +0100 |
commit | 88caa9da18841561c604c5a237cb776375eee035 (patch) | |
tree | c01fd925a89f22f1a7cf1209f4ecd5cbd8dc7099 /udevinfo.c | |
parent | 159ba1c5314b160d7036009eac690fe399c7917d (diff) |
man: add missing options to various man pages
Diffstat (limited to 'udevinfo.c')
-rw-r--r-- | udevinfo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/udevinfo.c b/udevinfo.c index ef4750dbf4..3f47add87c 100644 --- a/udevinfo.c +++ b/udevinfo.c @@ -190,7 +190,7 @@ int main(int argc, char *argv[], char *envp[]) { "attribute-walk", 0, NULL, 'a' }, { "export-db", 0, NULL, 'e' }, { "root", 0, NULL, 'r' }, - { "version", 0, NULL, 'V' }, + { "version", 0, NULL, 1 }, /* -V outputs braindead format */ { "help", 0, NULL, 'h' }, {} }; @@ -290,6 +290,9 @@ int main(int argc, char *argv[], char *envp[]) case 'e': export_db(export_record); goto exit; + case 1: + printf("%s\n", UDEV_VERSION); + goto exit; case 'V': printf("udevinfo, version %s\n", UDEV_VERSION); goto exit; |