diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /coreutils/md5sum.c | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) | |
download | busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2 busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip |
Extract usage information into a separate file.
Diffstat (limited to 'coreutils/md5sum.c')
-rw-r--r-- | coreutils/md5sum.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c index e6f1c86b4..fad563fe7 100644 --- a/coreutils/md5sum.c +++ b/coreutils/md5sum.c | |||
@@ -582,23 +582,6 @@ static int status_only = 0; /* With -c, don't generate any output. | |||
582 | static int warn = 0; /* With -w, print a message to standard error warning | 582 | static int warn = 0; /* With -w, print a message to standard error warning |
583 | about each improperly formatted MD5 checksum line */ | 583 | about each improperly formatted MD5 checksum line */ |
584 | 584 | ||
585 | static const char md5sum_usage[] = | ||
586 | "md5sum [OPTION] [FILE]...\n" | ||
587 | "or: md5sum [OPTION] -c [FILE]\n" | ||
588 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
589 | "\nPrint or check MD5 checksums.\n\n" | ||
590 | "Options:\n" | ||
591 | "With no FILE, or when FILE is -, read standard input.\n\n" | ||
592 | "\t-b\tread files in binary mode\n" | ||
593 | "\t-c\tcheck MD5 sums against given list\n" | ||
594 | "\t-t\tread files in text mode (default)\n" | ||
595 | "\t-g\tread a string\n" | ||
596 | "\nThe following two options are useful only when verifying checksums:\n" | ||
597 | "\t-s,\tdon't output anything, status code shows success\n" | ||
598 | "\t-w,\twarn about improperly formated MD5 checksum lines\n" | ||
599 | #endif | ||
600 | ; | ||
601 | |||
602 | static int split_3(char *s, | 585 | static int split_3(char *s, |
603 | size_t s_len, | 586 | size_t s_len, |
604 | unsigned char **u, | 587 | unsigned char **u, |