greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17045

Show
Ignore:
Timestamp:
2008-08-28 10:58:29 (4 months ago)
Author:
oranfry
Message:

put the help screen into wirk3, after all it is documented as being there

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • release-kits/wirk3/src/wirk3.cpp

    r16930 r17045  
    1515                start = str.find( pattern, start+replacement.size() ); 
    1616        } 
     17 
     18} 
     19 
     20void show_help() { 
     21 
     22        cout << "Wirk3 - Windows Release Kit for Greenstone3" << endl; 
     23        cout << "Helps you to create releases from the Repository" << endl << endl; 
     24 
     25        cout << "usage: wirk3 [args]" << endl; 
     26        cout << "       -sim" << endl; 
     27        cout << "               simulation only, don't actually do anything" << endl << endl; 
     28 
     29        cout << "       -help" << endl; 
     30        cout << "               show this help screen" << endl << endl; 
     31 
     32        cout << "       -from <target>" << endl; 
     33        cout << "               start execution from the target with the given target address" << endl << endl; 
     34 
     35        cout << "       -to <target>" << endl; 
     36        cout << "               stop execution just before the target with the given target address" << endl << endl; 
     37 
     38        cout << "       -descend <target>" << endl; 
     39        cout << "               execute only the target with the given address, including subtargets" << endl << endl; 
     40 
     41        cout << "       -cp" << endl; 
     42        cout << "               show the classpath being used by wirk2" << endl << endl; 
    1743 
    1844} 
     
    4975                         
    5076                if ( a.compare("-help") == 0 ) { 
    51                         //show_help(); 
     77                        show_help(); 
    5278                        return 0; 
    5379                } else if ( a.compare("-cp") == 0) {