summaryrefslogtreecommitdiff
path: root/libexec/tradcpp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/tradcpp/main.c')
-rw-r--r--libexec/tradcpp/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/tradcpp/main.c b/libexec/tradcpp/main.c
index 35f9bca1326..eae7f44632d 100644
--- a/libexec/tradcpp/main.c
+++ b/libexec/tradcpp/main.c
@@ -1040,7 +1040,7 @@ main(int argc, char *argv[])
init();
for (i=1; i<argc; i++) {
- if (argv[i][0] != '-') {
+ if ((argv[i][0] != '-') || !strcmp(argv[i], "-")) {
break;
}
place_setcommandline(&cmdplace, i, 1);