aboutsummaryrefslogtreecommitdiffstats
path: root/src/vu-write-head.c
blob: 55170c06f3700e02b4789b3bf9fd71f670ed811d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* See LICENSE file for copyright and license details. */
#include "arg.h"
#include "util.h"

static void
usage(void)
{
	eprintf("usage: %s parameters ...\n", argv0);
}

int
main(int argc, char *argv[])
{
	int i;

	ARGBEGIN {
	default:
		usage();
	} ARGEND;

	if (!argc)
		usage();

	printf("%s", argv[0]);
	for (i = 0; i < argc; i++)
		printf(" %s", argv[i]);
	printf("\n%cuivf", 0);

	efshut(stdout, "<stdout>");
	return 0;
}