Skip to content

Missing version and help information

Summary

--version and --help are not implemented. This is common practice for support and contribution workflows in our issue templates.

Steps to reproduce

./observability_sensor --version

./observability_sensor --help

What is the current bug behavior?

Parameters are not implemented, application starts anyways.

What is the expected correct behavior?

Application interprets command line flags and stops to print the information.

Relevant logs and/or screenshots

Environment information

  • OS (Linux/Unix, macOS, Windows) and version:
  • Metrics type (Prometheus, file, Arduino, other harddware senssors):
  • Building from source: Compiler and version (g++ --version, clang++ --version):

Possible fixes

  1. Add command line parameter parsing
  2. Implement the initial parameters.