European-XFEL / karabo-bridge-py

Tools to allow data exchange with Karabo, in particular streaming of data
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

--help should say which settings are defaults for bridge simulation #32

Closed fangohr closed 6 years ago

fangohr commented 6 years ago
$ karabo-bridge-server-sim --help
usage: karabo-bridge-server-sim [-h] [--protocol {1.0,2.1,2.2}]
                                [--detector {AGIPD,LPD}]
                                [--serialisation {msgpack,pickle}]
                                port

Run a Karabo bridge server producing simulated data.

positional arguments:
  port                  TCP port the server will bind

optional arguments:
  -h, --help            show this help message and exit
  --protocol {1.0,2.1,2.2}
  --detector {AGIPD,LPD}
                        Which kind of detector to simulate
  --serialisation {msgpack,pickle}

We need to extend the above output to show which options are chosen by default (i.e. which protocol, which detecter, which serialisation).