summaryrefslogtreecommitdiff
path: root/src/yes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/yes.c')
-rw-r--r--src/yes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yes.c b/src/yes.c
index e127310f1..a3b25ce08 100644
--- a/src/yes.c
+++ b/src/yes.c
@@ -76,7 +76,7 @@ main (int argc, char **argv)
char **operand_lim = argv + argc;
if (optind == argc)
- *operand_lim++ = bad_cast ("-");
+ *operand_lim++ = bad_cast ("y");
/* Buffer data locally once, rather than having the
large overhead of stdio buffering each item. */