Ignore:
Timestamp:
17/07/06 10:11:09 (6 years ago)
Author:
faa59
Message:

Remove conflict with other VERSION variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/applications/NXdir/main.cpp

    r356 r792  
    5959static const string PRINTDATA="-o"; 
    6060static const string NOT_PRINTDATA="+o"; 
    61 static const string VERSION="--version"; 
     61static const string ARG_VERSION="--version"; 
    6262static const string PATH="-p"; 
    6363static const string HELP="--help"; 
     
    314314  cout << "About NXdir" << endl; 
    315315  cout << "  " << HELP_SHORT << "|" << HELP << "                 Print this help information" << endl; 
    316   cout << "  " << VERSION << "                 Print the version information" << endl; 
     316  cout << "  " << ARG_VERSION << "                 Print the version information" << endl; 
    317317  cout << endl; 
    318318  cout << "Node Selection" << endl; 
     
    432432      print_help(progname,1); 
    433433      exit(0); 
    434     }else if(arg1==VERSION){ 
     434    }else if(arg1==ARG_VERSION){ 
    435435      print_version(progname,1); 
    436436      exit(0); 
Note: See TracChangeset for help on using the changeset viewer.