davidfrantz / force

Framework for Operational Radiometric Correction for Environmental monitoring
GNU General Public License v3.0
173 stars 50 forks source link

Example command in documentation failing #301

Open oceanites opened 1 year ago

oceanites commented 1 year ago

Because of some other errors I could fix now, I to debug the FORCE_CREDENTIALS variable and ran the following command (documentation) as _this command will only print the container's FORCECREDENTIALS variable:

docker run \
  -v /my/local/folder:/opt/data \
  --user "$(id -u):$(id -g)" \
  --env FORCE_CREDENTIALS=/app/credentials \
  -v $HOME:/app/credentials \
  davidfrantz/force \
  force-level1-csd -h

However, this just returned the error /home/docker/bin/force-level1-csd: invalid option -- 'h' for me. So either the documentation needs an update there or the bash script.