diff options
-rwxr-xr-x | bin/hwmon | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -180,8 +180,12 @@ print_sensor() usage() { - printf 'Usage: %s [-d] %s [%s ...]\n' "${0}" \ + printf 'Usage: %s [<options>] %s [%s ...]\n' "${0}" \ '<label>:<chip>/<element>' '<label>:<chip>/<element>' + printf '\n' + printf 'Options:\n' + printf ' -r Print carriage returns instead of line feeds\n' + printf ' -d Enable debugging output\n' } main() |