13 lines
484 B
Diff
13 lines
484 B
Diff
diff -urp coreutils-6.9-orig/lib/long-options.c coreutils-6.9/lib/long-options.c
|
|
--- coreutils-6.9-orig/lib/long-options.c
|
|
+++ coreutils-6.9/lib/long-options.c
|
|
@@ -57,8 +57,7 @@ parse_long_options (int argc,
|
|
/* Don't print an error message for unrecognized options. */
|
|
opterr = 0;
|
|
|
|
- if (argc == 2
|
|
- && (c = getopt_long (argc, argv, "+", long_options, NULL)) != -1)
|
|
+ while ((c = getopt_long (argc, argv, "+", long_options, NULL)) != -1)
|
|
{
|
|
switch (c)
|
|
{
|