greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17048

Show
Ignore:
Timestamp:
2008-08-28 11:03:09 (4 months ago)
Author:
oranfry
Message:

making --help an alias for -help

Files:

Legend:

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

    r17045 r17048  
    7474                a = argv[i]; 
    7575                         
    76                 if ( a.compare("-help") == 0 ) { 
     76                if ( a.compare("-help") == 0 || a.compare("--help") == 0 ) { 
    7777                        show_help(); 
    7878                        return 0; 
    79                 } else if ( a.compare("-cp") == 0) { 
     79                } else if ( a.compare("-cp") == 0 || a.compare("--cp") == 0 ) { 
    8080                        cout << classpath; 
    8181                        return 0;