
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7325 212acab6-be3b-0410-9dea-997c60f758d6
23 lines
331 B
C
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);
|
|
}
|