extend usage()
authorDirk Mueller <dmueller@suse.de>
Mon, 26 Apr 2010 08:31:01 +0000 (10:31 +0200)
committerDirk Mueller <dmueller@suse.de>
Tue, 8 Jun 2010 15:47:14 +0000 (17:47 +0200)
tools/installcheck.c

index 279c4bd..b1ebb5e 100644 (file)
@@ -64,7 +64,11 @@ myfopen(const char *fn)
 void
 usage(char** argv)
 {
-  printf("Usage:\n%s: <arch> repo [--nocheck repo]...\n", argv[0]);
+  printf("Usage:\n%s: <arch> [options..] repo [--nocheck repo]...\n"
+         "\t--exclude <pattern>\twhitespace-separated list of (sub-)"
+         "packagenames to ignore\n"
+         "\t--withsrc\t\tAlso check dependencies of src.rpm\n\n"
+         , argv[0]);
   exit(1);
 }