diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/tinypcminfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/tinypcminfo.c b/utils/tinypcminfo.c index 4eb0afa..5b8db1f 100644 --- a/utils/tinypcminfo.c +++ b/utils/tinypcminfo.c @@ -103,7 +103,7 @@ int main(int argc, char **argv) unsigned int card = 0; int i; - if (argc < 3) { + if ((argc == 2) && (strcmp(argv[1], "--help") == 0)) { fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]); return 1; } |