2009-09-19 20:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* examples/hbdoc2/hbdoc2.prg
    * Minor changes/fixes to help screen and header.
This commit is contained in:
Viktor Szakats
2009-09-19 18:49:05 +00:00
parent fac2acdf0d
commit 21b54f433b
2 changed files with 15 additions and 5 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-19 20:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbdoc2/hbdoc2.prg
* Minor changes/fixes to help screen and header.
2009-09-19 20:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.sh
* bin/postinst.sh

View File

@@ -949,6 +949,9 @@ PROCEDURE ShowSubHelp( xLine, nMode, nIndent, n )
RETURN
STATIC FUNCTION HBRawVersion()
RETURN StrTran( Version(), "Harbour " )
PROCEDURE ShowHelp( cExtraMessage, aArgs )
LOCAL nMode := 1
@@ -962,11 +965,14 @@ PROCEDURE ShowHelp( cExtraMessage, aArgs )
CASE Empty( aArgs ) .OR. Len( aArgs ) <= 1 .OR. Empty( aArgs[ 1 ] )
aHelp = { ;
cExtraMessage, ;
"Harbour Document Extractor No. 2 (" + Version() + ")", ;
"Harbour Document Extractor (hbdoc2) " + HBRawVersion(), ;
"Copyright (c) 1999-2009, http://www.harbour-project.org/", ;
"Syntax: ", ;
"", ;
"Syntax:", ;
"", ;
{ "hbdoc2 [options]" }, ;
"options:", ;
"", ;
"Options:", ;
{ ;
"-? or --help // this screen", ;
"-? <option> or --help <option> // help on <option>, <option> is one of:", ;
@@ -980,8 +986,8 @@ PROCEDURE ShowHelp( cExtraMessage, aArgs )
"-by-method // output is one file per method (function, command, etc)" + IsDefault( p_hsSwitches[ "by-" ] == "method" ), ;
"-by-category // output is one file per category" + IsDefault( p_hsSwitches[ "by-" ] == "category" ), ;
"-source=<folder> // source folder, default is .." + PATH_SEPARATOR + "..", ;
"- include-doc-source // output is to indicate the document source file name", ;
"- include-doc-version // output is to indicate the document source file version", ;
"-include-doc-source // output is to indicate the document source file name", ;
"-include-doc-version // output is to indicate the document source file version", ;
} ;
}