Changeset 2608
- Timestamp:
- 05/09/12 12:27:04 (13 months ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/receiver.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/receiver.cc
r2556 r2608 415 415 declareArguments(); 416 416 UNIX_declareArguments(); 417 417 418 418 ::arg().laxParse(argc,argv); // do a lax parse 419 419 420 if(::arg().mustDo("version")) { 421 cerr<<"Version: "VERSION", compiled on "<<__DATE__", "__TIME__; 422 #ifdef __GNUC__ 423 cerr<<" with gcc version "<<__VERSION__; 424 #endif 425 cout<<endl; 426 exit(99); 427 } 428 420 429 if(::arg()["config-name"]!="") 421 430 s_programname+="-"+::arg()["config-name"]; … … 456 465 } 457 466 458 if(::arg().mustDo("version")) {459 cerr<<"Version: "VERSION", compiled on "<<__DATE__", "__TIME__;460 #ifdef __GNUC__461 cerr<<" with gcc version "<<__VERSION__;462 #endif463 cout<<endl;464 exit(99);465 }466 467 467 468 // we really need to do work - either standalone or as an instance