2012-04-23 10:27:40 -04:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
#include <stdio.h>
|
2014-11-13 12:29:30 -05:00
|
|
|
|
2012-04-23 10:27:40 -04:00
|
|
|
#include "util.h"
|
|
|
|
|
2019-06-28 03:18:48 -04:00
|
|
|
static void
|
|
|
|
usage(void)
|
|
|
|
{
|
2019-10-31 21:07:58 -04:00
|
|
|
eprintf("usage: %s [string]\n", argv0);
|
2019-06-28 03:18:48 -04:00
|
|
|
}
|
|
|
|
|
2012-04-23 10:27:40 -04:00
|
|
|
int
|
|
|
|
main(int argc, char *argv[])
|
|
|
|
{
|
2019-10-31 21:07:58 -04:00
|
|
|
const char *s;
|
2015-01-31 20:13:47 -05:00
|
|
|
|
2019-06-28 03:18:48 -04:00
|
|
|
ARGBEGIN {
|
|
|
|
default:
|
|
|
|
usage();
|
|
|
|
} ARGEND
|
2012-04-23 10:27:40 -04:00
|
|
|
|
2019-10-31 21:07:58 -04:00
|
|
|
s = argc ? argv[0] : "y";
|
|
|
|
for (;;)
|
|
|
|
puts(s);
|
2012-04-23 10:27:40 -04:00
|
|
|
}
|