Show
Ignore:
Timestamp:
11/21/08 14:25:24 (3 years ago)
Author:
mirko
Message:

manpage, --version switch

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/pdfcube-0.0.3/src/pdfcube.cc

    r26 r27  
    18481848    ("help,h",  
    18491849     "This help message.") 
     1850    ("version,v", 
     1851     "Version information") 
    18501852    ("bgcolor,b", po::value<std::string>(), 
    18511853     "Background color is 'r,g,b' with real values between 0.0 and 1.0, no spaces.") 
     
    18811883    return 0; 
    18821884  } 
     1885   
     1886  if(vm.count("version")) { 
     1887    cout << "pdfcube 0.0.3" << endl; 
     1888    return 0; 
     1889  } 
    18831890 
    18841891  if (vm.count("input-file")) {