Hacked up halibut source code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1534 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8204a7298a
commit
b23696e64c
24 changed files with 12849 additions and 0 deletions
38
Docs/src/bin/halibut/help.c
Normal file
38
Docs/src/bin/halibut/help.c
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* help.c: usage instructions
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "halibut.h"
|
||||
|
||||
static char *helptext[] = {
|
||||
"FIXME: help text goes here",
|
||||
NULL
|
||||
};
|
||||
|
||||
static char *usagetext[] = {
|
||||
"FIXME: usage text goes here",
|
||||
NULL
|
||||
};
|
||||
|
||||
void
|
||||
help (void)
|
||||
{
|
||||
char **p;
|
||||
for (p = helptext; *p; p++)
|
||||
puts (*p);
|
||||
}
|
||||
|
||||
void
|
||||
usage (void)
|
||||
{
|
||||
char **p;
|
||||
for (p = usagetext; *p; p++)
|
||||
puts (*p);
|
||||
}
|
||||
|
||||
void
|
||||
showversion (void)
|
||||
{
|
||||
printf ("Halibut, %s\n", version);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue