From d588ba74439604cf29100aec7cd1da640a5d6fe5 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sat, 2 Mar 2019 11:21:25 -0800 Subject: 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. --- toys/other/blkid.c | 4 ++-- toys/other/hwclock.c | 2 ++ toys/other/i2ctools.c | 8 ++++---- toys/other/mkswap.c | 2 +- toys/other/pmap.c | 2 +- toys/other/reset.c | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) (limited to 'toys/other') 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" -- cgit v1.2.3