PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.48k stars 13.5k forks source link

Misleading CLI usage screen for ms5611 driver #14867

Open OskarPepryk opened 4 years ago

OskarPepryk commented 4 years ago

Describe the bug Usage of ms5611 from console is misleading. The usage screen incorrectly shows that stop and status commands do not take arguments. This probably is the case for other I2CSPIDriverBase drivers.

To Reproduce

  1. Type ms5611
  2. According to help screen, type "ms5611 status" to see driver status
  3. Output says that no devices are running, even though ms5607 is running.
  4. Type "ms5611 -T 5607 status" to see correct output.

Expected behavior Usage screen should state to which commands which arguments apply.

Zrzut ekranu z 2020-05-08 09-37-12

Additional context Tested on master and 1.11.0 Beta 1

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.