aboutsummaryrefslogtreecommitdiff
path: root/toys/yes.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/yes.c')
-rw-r--r--toys/yes.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/toys/yes.c b/toys/yes.c
index d1091993..501ea3a9 100644
--- a/toys/yes.c
+++ b/toys/yes.c
@@ -1,9 +1,19 @@
-/* vi: set sw=4 ts=4: */
-/*
+/* vi: set sw=4 ts=4:
+ *
* yes.c - Repeatedly output a string.
*
+ * Copyright 2007 Rob Landley <rob@landley.net>
+ *
* Not in SUSv3.
- */
+
+config YES
+ bool "yes"
+ default y
+ help
+ usage: yes [args...]
+
+ Repeatedly output line until killed. If no args, output 'y'.
+*/
#include "toys.h"