Changeset 19071
- Timestamp:
- 07/21/18 15:39:04 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/calcsource.cc
r19070 r19071 34 34 ("create", po_switch(), "Create the table if it does not yet exist") 35 35 ("update", po_switch(), "Update the table.position instead of inserting it (disables drop, create and delete)") 36 ("no-insert", po_switch(), "Does not insert or update any data to any table")37 ("dry-run", po_switch(), "Skip any query which changes the databse (might result in consecutive failures)")38 36 ("ra", var<double>(), "Right ascension of the source (use together with --dec)") 39 37 ("dec", var<double>(), "Declination of the source (use together with --ra)") 40 38 ("focal-dist", var<double>(4889.), "Focal distance of the camera in millimeter") 41 ("verbose,v", var<uint16_t>(1), "Verbosity (0: quiet, 1: default, 2: more, 3, ...)") 39 ; 40 41 po::options_description debug("Debug options"); 42 debug.add_options() 43 ("no-insert", po_switch(), "Does not insert or update any data to any table") 44 ("dry-run", po_switch(), "Skip any query which changes the databse (might result in consecutive failures)") 42 45 ("print-meta", po_switch(), "Print meta-queries (DROP, CREATE, DELETE, SELECT)") 43 46 ("print-insert", po_switch(), "Print the INSERT/UPDATE queries") 47 ("verbose,v", var<uint16_t>(1), "Verbosity (0: quiet, 1: default, 2: more, 3, ...)") 44 48 ; 45 49 … … 48 52 49 53 conf.AddOptions(control); 54 conf.AddOptions(debug); 50 55 conf.SetArgumentPositions(p); 51 56 }
Note:
See TracChangeset
for help on using the changeset viewer.