|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
* Documentation generator using Mini-XML, a small XML-like file parsing |
|
|
|
|
* library. |
|
|
|
|
* |
|
|
|
|
* Copyright 2003-2010 by Michael R Sweet. |
|
|
|
|
* Copyright 2003-2011 by Michael R Sweet. |
|
|
|
|
* |
|
|
|
|
* These coded instructions, statements, and computer programs are the |
|
|
|
|
* property of Michael R Sweet and are protected by Federal copyright |
|
|
|
@ -274,6 +274,15 @@ main(int argc, /* I - Number of command-line args */ |
|
|
|
|
|
|
|
|
|
usage(NULL); |
|
|
|
|
} |
|
|
|
|
else if (!strcmp(argv[i], "--version")) |
|
|
|
|
{ |
|
|
|
|
/*
|
|
|
|
|
* Show version... |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
puts(MXML_VERSION + 10); |
|
|
|
|
return (0); |
|
|
|
|
} |
|
|
|
|
else if (!strcmp(argv[i], "--css") && !cssfile) |
|
|
|
|
{ |
|
|
|
|
/*
|
|
|
|
@ -2740,6 +2749,7 @@ usage(const char *option) /* I - Unknown option */ |
|
|
|
|
puts(" --section section Set section name"); |
|
|
|
|
puts(" --title title Set documentation title"); |
|
|
|
|
puts(" --tokens path Generate Xcode docset Tokens.xml file"); |
|
|
|
|
puts(" --version Show mxmldoc/Mini-XML version"); |
|
|
|
|
|
|
|
|
|
exit(1); |
|
|
|
|
} |
|
|
|
|