Commit fcf00a0
committed
echo: fix duplication of
Fixes #7558.
Previously, a workaround for handling double hyphens had the erroneous side
effect of echoing `--` twice in a row if the `--` is the first double hyphen to
be passed on the argument list and it is also not the first argument to `echo`.
This commit fixes the aforementioned issue.-- arguments1 parent cce6e49 commit fcf00a0
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments