blob: 0c288813b69e93a04d4f2a3b35890024a0f41804 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
diff -uNr packit-1.0.orig/src/main.c packit-1.0/src/main.c
--- packit-1.0.orig/src/main.c 2003-11-29 17:55:20.000000000 +0100
+++ packit-1.0/src/main.c 2006-09-22 02:02:21.000000000 +0200
@@ -201,6 +201,7 @@
#ifdef DEBUG
fprintf(stdout, "DEBUG: parse_inject\n");
#endif
+ if (!opts) print_usage();
while((opt = getopt(argc, argv, opts)) != -1)
{
|