#endif
reportAllTypes();
args.setCmd( "help", "Provide a helpful message" );
+ args.setCmd( "version", "Print the version" );
args.setSwitch( "verbose", "Verbose comments on operation" ) = "no";
args.setSwitch( "resume", "Continue after errors" ) = "no";
args.setSwitch( "dnsttl", "Add dnsttl attribute to every entry" ) = "no";
args.parse( argc, argv );
+ if(args.mustDo("version")) {
+ cerr<<"zone2ldap "<<VERSION<<endl;
+ exit(0);
+ }
+
if( args.mustDo( "help" ) )
{
cout << "Syntax:" << endl << endl;