fspmerge now prints short help
This commit is contained in:
parent
6bc90824be
commit
647920f508
|
|
@ -33,7 +33,9 @@ Version 2.8.1b25 - testing in progress
|
||||||
fsetupcmd added to fspmerge client
|
fsetupcmd added to fspmerge client
|
||||||
SCons can now build SGML FSP FAQ if sgmlfmt is found during build
|
SCons can now build SGML FSP FAQ if sgmlfmt is found during build
|
||||||
process
|
process
|
||||||
GNU autotools build system was entirely replaced by SCons
|
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
|
Version 2.8.1b24 - 19 Feb 2005
|
||||||
use getopt from stdio.h instead of getopt.h in fspscan.c
|
use getopt from stdio.h instead of getopt.h in fspscan.c
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,13 @@ int main (int argc, char ** argv)
|
||||||
|
|
||||||
else {
|
else {
|
||||||
fprintf(stderr,"Unknown FSP client command: %s\n",q);
|
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_USAGE);
|
||||||
}
|
}
|
||||||
exit(EX_OK);
|
exit(EX_OK);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user