Changeset 19108 for trunk/FACT++


Ignore:
Timestamp:
07/31/18 14:53:30 (6 years ago)
Author:
tbretz
Message:
The filename is also required.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

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

    r19105 r19108  
    5252#endif
    5353         , "Database link as in\n\tuser:password@server[:port]/database.")
    54         ("file",           var<string>(""),           "The root file to read from")
     54        ("file",           var<string>("")
     55#if BOOST_VERSION >= 104200
     56         ->required()
     57#endif
     58         ,           "The root file to read from")
    5559        ("force",          po_switch(),               "Force processing even if there is no database connection")
    5660        ("create",         po_switch(),               "Create the database if not existing")
     
    181185        "In case of succes, 0 is returned, a value>0 otherwise.\n"
    182186        "\n"
    183         "Usage: fits2sql [options] rootfile.root\n"
     187        "Usage: fits2sql [options] --uri URI fitsfile.fits[.gz]\n"
    184188        "\n"
    185189        ;
  • trunk/FACT++/src/root2sql.cc

    r19105 r19108  
    4848#endif
    4949         , "Database link as in\n\tuser:password@server[:port]/database.")
    50         ("file",           var<string>(""),           "The root file to read from")
     50        ("file",           var<string>("")
     51#if BOOST_VERSION >= 104200
     52         ->required()
     53#endif
     54         ,           "The root file to read from")
    5155        ("force",          po_switch(),               "Force processing even if there is no database connection")
    5256        ("create",         po_switch(),               "Create the database if not existing")
     
    181185        "In case of succes, 0 is returned, a value>0 otherwise.\n"
    182186        "\n"
    183         "Usage: root2sql [options] rootfile.root\n"
     187        "Usage: root2sql [options] -uri URI rootfile.root\n"
    184188        "\n"
    185189        ;
Note: See TracChangeset for help on using the changeset viewer.