Commit 249443b6 authored by Richard M. Stallman's avatar Richard M. Stallman

(sort_args): Check properly for `--'.

parent 24902ecd
......@@ -1223,7 +1223,7 @@ sort_args (argc, argv)
/* If we have found "--", don't consider
any more arguments as options. */
if (argv[from][1] == '-')
if (argv[from][1] == '-' && argv[from][2] == 0)
{
/* Leave the "--", and everything following it, at the end. */
for (; from < argc; from++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment