summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 29615e0..7b937cc 100644
--- a/main.c
+++ b/main.c
@@ -1221,7 +1221,7 @@ decode_switches (argc, argv, env)
but not for options from the environment. */
opterr = !env;
/* Reset getopt's state. */
- optind = 0;
+ optind = 1;
while (optind < argc)
{