raspberrypi / userland

Source code for ARM side libraries for interfacing to Raspberry Pi GPU.
BSD 3-Clause "New" or "Revised" License
2.05k stars 1.09k forks source link

vcgencmd: tweak usage #673

Open ghost opened 3 years ago

ghost commented 3 years ago

This PR depends on #663 also integrating, since it adds mention of the existence of a man page to the usage message (basic help output).

Tweaks are:

  1. Don't mention vcgencmd commands - not needed now we have a man page.
  2. Mention the man page in usage message, since it's a new addition, for improved discoverability.
  3. Tweak what happens in the case where the user tried to invoke a gencmd that doesn't exist: also display usage.