aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-12-04 13:06:44 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-12-04 13:06:44 +0000
commitc83e3a6406b4e3cc2d9499c1f21a5b369b972867 (patch)
tree29fa39580f9097c90a2e577a271c551bb867209b
parent50547c07451d07178eeb64e7d8637952b427bd4c (diff)
downloadbusybox-w32-c83e3a6406b4e3cc2d9499c1f21a5b369b972867.tar.gz
busybox-w32-c83e3a6406b4e3cc2d9499c1f21a5b369b972867.tar.bz2
busybox-w32-c83e3a6406b4e3cc2d9499c1f21a5b369b972867.zip
Patch from Steven Scholz, make usage more consistent with actual
behaviour.
-rw-r--r--include/usage.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/usage.h b/include/usage.h
index 636f6f4c4..7cce34904 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1564,11 +1564,12 @@
1564#define md5sum_full_usage \ 1564#define md5sum_full_usage \
1565 "Print" USAGE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums.\n\n" \ 1565 "Print" USAGE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums.\n\n" \
1566 "Options:\n" \ 1566 "Options:\n" \
1567 "With no FILE, or when FILE is -, read standard input.\n\n" \ 1567 "With no FILE, or when FILE is -, read standard input." \
1568 USAGE_MD5_SHA1_SUM_CHECK("\t-c\tcheck MD5 sums against given list\n") \ 1568 USAGE_MD5_SHA1_SUM_CHECK("\n\n" \
1569 "\t-c\tcheck MD5 sums against given list\n" \
1569 "\nThe following two options are useful only when verifying checksums:\n" \ 1570 "\nThe following two options are useful only when verifying checksums:\n" \
1570 "\t-s\tdon't output anything, status code shows success\n" \ 1571 "\t-s\tdon't output anything, status code shows success\n" \
1571 USAGE_MD5_SHA1_SUM_CHECK("\t-w\twarn about improperly formated MD5 checksum lines") 1572 "\t-w\twarn about improperly formated MD5 checksum lines")
1572#define md5sum_example_usage \ 1573#define md5sum_example_usage \
1573 "$ md5sum < busybox\n" \ 1574 "$ md5sum < busybox\n" \
1574 "6fd11e98b98a58f64ff3398d7b324003\n" \ 1575 "6fd11e98b98a58f64ff3398d7b324003\n" \
@@ -2114,11 +2115,12 @@
2114#define sha1sum_full_usage \ 2115#define sha1sum_full_usage \
2115 "Print" USAGE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums.\n\n" \ 2116 "Print" USAGE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums.\n\n" \
2116 "Options:\n" \ 2117 "Options:\n" \
2117 "With no FILE, or when FILE is -, read standard input.\n\n" \ 2118 "With no FILE, or when FILE is -, read standard input." \
2118 USAGE_MD5_SHA1_SUM_CHECK("\t-c\tcheck SHA1 sums against given list\n") \ 2119 USAGE_MD5_SHA1_SUM_CHECK("\n\n" \
2119 USAGE_MD5_SHA1_SUM_CHECK("\nThe following two options are useful only when verifying checksums:\n") \ 2120 "\t-c\tcheck SHA1 sums against given list\n" \
2121 "\nThe following two options are useful only when verifying checksums:\n" \
2120 "\t-s\tdon't output anything, status code shows success\n" \ 2122 "\t-s\tdon't output anything, status code shows success\n" \
2121 USAGE_MD5_SHA1_SUM_CHECK("\t-w\twarn about improperly formated SHA1 checksum lines") 2123 "\t-w\twarn about improperly formated SHA1 checksum lines")
2122 2124
2123#ifdef CONFIG_FEATURE_FANCY_SLEEP 2125#ifdef CONFIG_FEATURE_FANCY_SLEEP
2124 #define USAGE_FANCY_SLEEP(a) a 2126 #define USAGE_FANCY_SLEEP(a) a