removed text and help file backends; added some usage crap and removed the help command line optin(who needs that)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1542 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ef17957fff
commit
048c27836c
23 changed files with 7533 additions and 10037 deletions
|
@ -5,34 +5,19 @@
|
|||
#include <stdio.h>
|
||||
#include "halibut.h"
|
||||
|
||||
static char *helptext[] = {
|
||||
"FIXME: help text goes here",
|
||||
NULL
|
||||
};
|
||||
|
||||
static char *usagetext[] = {
|
||||
"FIXME: usage text goes here",
|
||||
NULL
|
||||
"halibut.exe file1 [file2 ...]",
|
||||
NULL
|
||||
};
|
||||
|
||||
void
|
||||
help (void)
|
||||
void usage(void)
|
||||
{
|
||||
char **p;
|
||||
for (p = helptext; *p; p++)
|
||||
puts (*p);
|
||||
char **p;
|
||||
for (p = usagetext; *p; p++)
|
||||
puts(*p);
|
||||
}
|
||||
|
||||
void
|
||||
usage (void)
|
||||
void showversion(void)
|
||||
{
|
||||
char **p;
|
||||
for (p = usagetext; *p; p++)
|
||||
puts (*p);
|
||||
}
|
||||
|
||||
void
|
||||
showversion (void)
|
||||
{
|
||||
printf ("Halibut, %s\n", version);
|
||||
printf("Halibut, %s\n", version);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue