fspmerge now prints short help

This commit is contained in:
Radim Kolar 2009-09-10 16:31:17 +02:00
parent 6bc90824be
commit 647920f508
2 changed files with 10 additions and 1 deletions

View File

@ -34,6 +34,8 @@ Version 2.8.1b25 - testing in progress
SCons can now build SGML FSP FAQ if sgmlfmt is found during build
process
GNU autotools build system was entirely replaced by SCons
fspmerge now prints short help text if it is invoked with unknown
command name.
Version 2.8.1b24 - 19 Feb 2005
use getopt from stdio.h instead of getopt.h in fspscan.c

View File

@ -43,6 +43,13 @@ int main (int argc, char ** argv)
else {
fprintf(stderr,"Unknown FSP client command: %s\n",q);
fprintf(stderr,"\nThis program is single merged executable for invoking FSP client commands.\n"
"It executes different FSP commands based on invoked name. Example:\n"
"If fspmerge is invoked using fver executable name it will execute fver command\n"
"and exit. Executable name can be set using symlink ln -s fspmerge fver or\n"
"setting argv[0] passed to execve function.\n"
"Using merged fsp client over single client executables saves diskspace,\n"
"memory and have shorter startup time.\n");
exit(EX_USAGE);
}
exit(EX_OK);