HDFGroup / hsds

Cloud-native, service based access to HDF data
https://www.hdfgroup.org/solutions/hdf-kita/
Apache License 2.0
127 stars 52 forks source link

Disallow unknown commandline arguments #160

Closed mbruggs closed 1 year ago

mbruggs commented 1 year ago

I ran into this today where I mistyped the --config_dir option as --config-dir and then spent a long time looking through my config files to work out why requests to the server weren't working. I feel it's nicer for users to be told if a commandline argument is wrong as it can be easy to make this sort of mistake. The extra_args variable didn't seem to be used anyway.

Thanks again for all the work on HSDS, it looks like there has been lots of development recently.

jreadey commented 1 year ago

Nice! Thanks for the PR.