FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 34 of file fitscheck.cc.

References Configuration::AddOptions(), and Configuration::SetArgumentPositions().

Referenced by main().

35 {
36  po::options_description configs("Fitscheck options");
37  configs.add_options()
38  ("fitsfile,f", var<string>()
39 #if BOOST_VERSION >= 104200
40  ->required()
41 #endif
42  , "Name of FITS file")
43  ;
44 
45  po::positional_options_description p;
46  p.add("fitsfile", 1); // The first positional options
47 
48  conf.AddOptions(configs);
49  conf.SetArgumentPositions(p);
50 }
void SetArgumentPositions(const po::positional_options_description &desc)
void AddOptions(const po::options_description &opt, bool visible=true)
Definition: Configuration.h:92
double p
Definition: palObs.c:169

+ Here is the call graph for this function:

+ Here is the caller graph for this function: