1
0
mirror of git://git.suckless.org/sbase synced 2024-12-28 01:52:23 +00:00
sbase/yes.c
FRIGN eee98ed3a4 Fix coding style
It was about damn time. Consistency is very important in such a
big codebase.
2014-11-13 18:08:43 +00:00

25 lines
348 B
C

/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
#include "util.h"
static void
usage(void)
{
eprintf("usage: %s [string]\n", argv0);
}
int
main(int argc, char *argv[])
{
ARGBEGIN {
default:
usage();
} ARGEND;
for (;;)
puts(argc >= 1 ? argv[0] : "y");
return 1; /* should not reach */
}