[systemd-commits] src/udev

Tom Gundersen tomegun at kemper.freedesktop.org
Tue Nov 20 17:49:07 PST 2012


 src/udev/udevadm-hwdb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e32a4e1ef4c61561b08f50f73f82587bdc946b40
Author: Tom Gundersen <teg at jklm.no>
Date:   Wed Nov 21 02:47:48 2012 +0100

    hwdb: fix usage
    
    --create is not a valid option.

diff --git a/src/udev/udevadm-hwdb.c b/src/udev/udevadm-hwdb.c
index fd288db..00c0d3d 100644
--- a/src/udev/udevadm-hwdb.c
+++ b/src/udev/udevadm-hwdb.c
@@ -469,7 +469,7 @@ static int import_file(struct trie *trie, const char *filename) {
 }
 
 static void help(void) {
-        printf("Usage: udevadm hwdb [--create] [--help]\n"
+        printf("Usage: udevadm hwdb OPTIONS\n"
                "  --update            update the hardware database\n"
                "  --test <modalias>   query database and print result\n"
                "  --help\n\n");



More information about the systemd-commits mailing list