aboutsummaryrefslogtreecommitdiff
path: root/toys/cksum.c
diff options
context:
space:
mode:
authorElie De Brauwer <eliedebrauwer@gmail.com>2012-02-11 13:48:04 +0100
committerElie De Brauwer <eliedebrauwer@gmail.com>2012-02-11 13:48:04 +0100
commit2f9b215b313016e703c558cca1e12e3dcb563a06 (patch)
tree1419a344d056d48555c343163098634c14cc46b5 /toys/cksum.c
parentdc44e709bdb678c20d2b579f77662934f0a2c533 (diff)
downloadtoybox-2f9b215b313016e703c558cca1e12e3dcb563a06.tar.gz
Correct cksum parameters and clarify -N option
Diffstat (limited to 'toys/cksum.c')
-rw-r--r--toys/cksum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/cksum.c b/toys/cksum.c
index 69609a28..213bc74a 100644
--- a/toys/cksum.c
+++ b/toys/cksum.c
@@ -12,7 +12,7 @@ config CKSUM
bool "cksum"
default y
help
- usage: cksum [-FL] [file...]
+ usage: cksum [-IPLN] [file...]
For each file, output crc32 checksum value, length and name of file.
If no files listed, copy from stdin. Filename "-" is a synonym for stdin.
@@ -20,7 +20,7 @@ config CKSUM
-L Little endian (defaults to big endian)
-P Pre-inversion
-I Skip post-inversion
- -N No length
+ -N Do not include length in CRC calculation
*/
#include "toys.h"