eclipse-kuksa / kuksa-databroker

A modern in-vehicle VSS (Vehicle Signal Specification) server written in RUST
https://eclipse-kuksa.github.io/kuksa-website/
Apache License 2.0
18 stars 17 forks source link

--help commandline option lost #7

Closed SebastianSchildt closed 6 months ago

SebastianSchildt commented 6 months ago

I the past dataroker supported --help to list available options like this

docker run -it --rm --net=host  ghcr.io/eclipse/kuksa.val/databroker:latest --help
  Commit Date:      2023-11-20T13:31:05.000000000Z
  Commit SHA:       afaf54200ab8bf2126c9ad4a3dec746828cfecb1
  Commit Branch:    HEAD

  Package version:  0.4.1
  Debug build:      false

Usage: databroker [OPTIONS]

Options:
      --address <IP>            Bind address [env: KUKSA_DATA_BROKER_ADDR=0.0.0.0] [default: 127.0.0.1]
      --port <PORT>             Bind port [env: KUKSA_DATA_BROKER_PORT=55555] [default: 55555]
      --vss <FILE>              Populate data broker with VSS metadata from (comma-separated) list of files [env:
                                KUKSA_DATA_BROKER_METADATA_FILE=vss_release_4.0.json]
      --jwt-public-key <FILE>   Public key used to verify JWT access tokens
      --disable-authorization   Disable authorization
      --insecure                Allow insecure connections
      --tls-cert <FILE>         TLS certificate file (.pem)
      --tls-private-key <FILE>  TLS private key file (.key)
  -h, --help                    Print help
  -V, --version                 Print version

Currently the option is not working

docker run -it --rm --net=host  ghcr.io/eclipse-kuksa/kuksa-databroker:latest --help
error: unexpected argument found

Note: this also happens in master at the "old" location, so it does not seem to be "move-related"

erikbosch commented 6 months ago

Fixed by #9