aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-03-02 11:21:25 -0800
committerRob Landley <rob@landley.net>2019-03-02 14:12:24 -0600
commitd588ba74439604cf29100aec7cd1da640a5d6fe5 (patch)
tree458245b19a5af436925a238da9d779a038dcf968 /toys/other
parentb8001d13a68b1b05bff7008fd657af0563890d3f (diff)
downloadtoybox-d588ba74439604cf29100aec7cd1da640a5d6fe5.tar.gz
Improve help consistency.
More consistent tense, capitalization, and punctuation. A few commands were missing an introductory line, so I copied those from the first comment line.
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/blkid.c4
-rw-r--r--toys/other/hwclock.c2
-rw-r--r--toys/other/i2ctools.c8
-rw-r--r--toys/other/mkswap.c2
-rw-r--r--toys/other/pmap.c2
-rw-r--r--toys/other/reset.c2
6 files changed, 11 insertions, 9 deletions
diff --git a/toys/other/blkid.c b/toys/other/blkid.c
index 98055b41..b791fa62 100644
--- a/toys/other/blkid.c
+++ b/toys/other/blkid.c
@@ -13,7 +13,7 @@ config BLKID
help
usage: blkid [-UL] DEV...
- Prints type, label and UUID of filesystem on a block device or image.
+ Print type, label and UUID of filesystem on a block device or image.
-U Show UUID only (or device with that UUID)
-L Show LABEL only (or device with that LABEL)
@@ -24,7 +24,7 @@ config FSTYPE
help
usage: fstype DEV...
- Prints type of filesystem on a block device or image.
+ Print type of filesystem on a block device or image.
*/
#define FOR_blkid
diff --git a/toys/other/hwclock.c b/toys/other/hwclock.c
index 94877f9e..52e71604 100644
--- a/toys/other/hwclock.c
+++ b/toys/other/hwclock.c
@@ -12,6 +12,8 @@ config HWCLOCK
help
usage: hwclock [-rswtluf]
+ Get/set the hardware clock.
+
-f FILE Use specified device file instead of /dev/rtc (--rtc)
-l Hardware clock uses localtime (--localtime)
-r Show hardware clock time (--show)
diff --git a/toys/other/i2ctools.c b/toys/other/i2ctools.c
index 15578665..c9a11466 100644
--- a/toys/other/i2ctools.c
+++ b/toys/other/i2ctools.c
@@ -24,7 +24,7 @@ config I2CDETECT
usage: i2cdetect -F BUS
usage: i2cdetect -l
- Detects i2c devices.
+ Detect i2c devices.
-a All addresses (0x00-0x7f rather than 0x03-0x77)
-F Show functionality
@@ -38,7 +38,7 @@ config I2CDUMP
help
usage: i2cdump [-fy] BUS CHIP
- Dumps i2c registers.
+ Dump i2c registers.
-f Force access to busy devices
-y Answer "yes" to confirmation prompts (for script use)
@@ -49,7 +49,7 @@ config I2CGET
help
usage: i2cget [-fy] BUS CHIP ADDR
- Reads an i2c register.
+ Read an i2c register.
-f Force access to busy devices
-y Answer "yes" to confirmation prompts (for script use)
@@ -60,7 +60,7 @@ config I2CSET
help
usage: i2cset [-fy] BUS CHIP ADDR VALUE... MODE
- Writes an i2c register. MODE is b for byte, w for 16-bit word, i for I2C block.
+ Write an i2c register. MODE is b for byte, w for 16-bit word, i for I2C block.
-f Force access to busy devices
-y Answer "yes" to confirmation prompts (for script use)
diff --git a/toys/other/mkswap.c b/toys/other/mkswap.c
index 49e0b942..3106ea8e 100644
--- a/toys/other/mkswap.c
+++ b/toys/other/mkswap.c
@@ -10,7 +10,7 @@ config MKSWAP
help
usage: mkswap [-L LABEL] DEVICE
- Sets up a Linux swap area on a device or file.
+ Set up a Linux swap area on a device or file.
*/
#define FOR_mkswap
diff --git a/toys/other/pmap.c b/toys/other/pmap.c
index 1641c95c..02260dbd 100644
--- a/toys/other/pmap.c
+++ b/toys/other/pmap.c
@@ -13,7 +13,7 @@ config PMAP
help
usage: pmap [-xq] [pids...]
- Reports the memory map of a process or processes.
+ Report the memory map of a process or processes.
-x Show the extended format
-q Do not display some header/footer lines
diff --git a/toys/other/reset.c b/toys/other/reset.c
index 5fc59706..4d16a4a3 100644
--- a/toys/other/reset.c
+++ b/toys/other/reset.c
@@ -12,7 +12,7 @@ config RESET
help
usage: reset
- reset the terminal
+ Reset the terminal.
*/
#include "toys.h"