Ignore:
Timestamp:
05/24/11 17:37:21 (13 years ago)
Author:
tbretz
Message:
Simplified program options handling.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/scheduler.cc

    r10780 r10797  
    1414#include <mysql++/mysql++.h>
    1515
    16 #include "FACT.h"
    1716#include "Dim.h"
    1817#include "Time.h"
     
    824823    }
    825824
    826     if (conf.HasPrint())
     825    if (conf.HasVersion() || conf.HasPrint())
    827826        return -1;
    828 
    829     if (conf.HasVersion())
    830     {
    831         FACT::PrintVersion(argv[0]);
    832         return -1;
    833     }
    834827
    835828    if (conf.HasHelp())
Note: See TracChangeset for help on using the changeset viewer.