File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3012,7 +3012,7 @@ main(int argc, char *argv[])
30123012 if (optind < argc )
30133013 {
30143014 fprintf (stderr , _ ("%s: too many command-line arguments (first is \"%s\")\n" ),
3015- progname , argv [optind + 1 ]);
3015+ progname , argv [optind ]);
30163016 fprintf (stderr , _ ("Try \"%s --help\" for more information.\n" ),
30173017 progname );
30183018 exit (1 );
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ main(int argc, char *argv[])
125125 if (optind < argc )
126126 {
127127 fprintf (stderr , _ ("%s: too many command-line arguments (first is \"%s\")\n" ),
128- progname , argv [optind + 1 ]);
128+ progname , argv [optind ]);
129129 fprintf (stderr , _ ("Try \"%s --help\" for more information.\n" ), progname );
130130 exit (1 );
131131 }
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ main(int argc, char *argv[])
135135 if (optind < argc )
136136 {
137137 fprintf (stderr , _ ("%s: too many command-line arguments (first is \"%s\")\n" ),
138- progname , argv [optind + 1 ]);
138+ progname , argv [optind ]);
139139 fprintf (stderr , _ ("Try \"%s --help\" for more information.\n" ), progname );
140140 exit (1 );
141141 }
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ main(int argc, char *argv[])
149149 if (optind < argc )
150150 {
151151 fprintf (stderr , _ ("%s: too many command-line arguments (first is \"%s\")\n" ),
152- progname , argv [optind + 1 ]);
152+ progname , argv [optind ]);
153153 fprintf (stderr , _ ("Try \"%s --help\" for more information.\n" ), progname );
154154 exit (1 );
155155 }
You can’t perform that action at this time.
0 commit comments