NSIS/Docs/src/bin/halibut/help.c
2021-09-15 01:41:55 +00:00

23 lines
331 B
C

/*
* help.c: usage instructions
*/
#include <stdio.h>
#include "halibut.h"
static const char *const usagetext[] = {
"halibut [options] file.but [file.but...]",
NULL
};
void usage(void)
{
const char *const *p;
for (p = usagetext; *p; p++)
puts(*p);
}
void showversion(void)
{
printf("Halibut, %s\n", version);
}