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