From 49f42ae806dfb176081e9ef2fd7953af4374892f Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pj@pehjota.net>
Date: Thu, 26 Apr 2018 18:53:26 -0400
Subject: bin/hwmon: Update usage output

---
(limited to 'bin/hwmon')

diff --git a/bin/hwmon b/bin/hwmon
index 10e48fa..8dac456 100755
--- a/bin/hwmon
+++ b/bin/hwmon
@@ -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()
--
cgit v0.9.1