diff options
Diffstat (limited to 'usage.c')
-rw-r--r-- | usage.c | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -170,10 +170,11 @@ const char dd_usage[] = | |||
170 | "\tcount=N\tcopy only N input blocks\n" | 170 | "\tcount=N\tcopy only N input blocks\n" |
171 | "\tskip=N\tskip N input blocks\n" | 171 | "\tskip=N\tskip N input blocks\n" |
172 | "\tseek=N\tskip N output blocks\n" | 172 | "\tseek=N\tskip N output blocks\n" |
173 | "\tconv=notrunc\t dont truncate of at end of write\n" | 173 | "\tconv=notrunc\tdon't truncate output file\n" |
174 | "\tconv=sync\t pad the last block with zeros until blocksize\n" | 174 | "\tconv=sync\tpad blocks with zeros\n" |
175 | "\n" | 175 | "\n" |
176 | "Numbers may be suffixed by w (x2), k (x1024), b (x512), or M (x1024^2)\n" | 176 | "Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024),\n" |
177 | "MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824).\n" | ||
177 | #endif | 178 | #endif |
178 | ; | 179 | ; |
179 | #endif | 180 | #endif |
@@ -1185,20 +1186,20 @@ const char syslogd_usage[] = | |||
1185 | 1186 | ||
1186 | #if defined BB_TAIL | 1187 | #if defined BB_TAIL |
1187 | const char tail_usage[] = | 1188 | const char tail_usage[] = |
1188 | "tail [OPTION] [FILE]...\n" | 1189 | "tail [OPTION]... [FILE]...\n" |
1189 | #ifndef BB_FEATURE_TRIVIAL_HELP | 1190 | #ifndef BB_FEATURE_TRIVIAL_HELP |
1190 | "\nPrint last 10 lines of each FILE to standard output.\n" | 1191 | "\nPrint last 10 lines of each FILE to standard output.\n" |
1191 | "With more than one FILE, precede each with a header giving the\n" | 1192 | "With more than one FILE, precede each with a header giving the\n" |
1192 | "file name. With no FILE, or when FILE is -, read standard input.\n\n" | 1193 | "file name. With no FILE, or when FILE is -, read standard input.\n\n" |
1193 | "Options:\n" | 1194 | "Options:\n" |
1194 | #ifndef BB_FEATURE_SIMPLE_TAIL | 1195 | #ifndef BB_FEATURE_SIMPLE_TAIL |
1195 | "\t-c=N[kbm]\toutput the last N bytes\n" | 1196 | "\t-c N[kbm]\toutput the last N bytes\n" |
1196 | #endif | 1197 | #endif |
1197 | "\t-n NUM\t\tPrint last NUM lines instead of first 10\n" | 1198 | "\t-n N[kbm]\tprint last N lines instead of last 10\n" |
1198 | "\t-f\t\tOutput data as the file grows.\n" | 1199 | "\t-f\t\toutput data as the file grows\n" |
1199 | #ifndef BB_FEATURE_SIMPLE_TAIL | 1200 | #ifndef BB_FEATURE_SIMPLE_TAIL |
1200 | "\t-q\t\tnever output headers giving file names\n" | 1201 | "\t-q\t\tnever output headers giving file names\n" |
1201 | "\t-s SEC\t\tWait SEC seconds between reads with -f\n" | 1202 | "\t-s SEC\t\twait SEC seconds between reads with -f\n" |
1202 | "\t-v\t\talways output headers giving file names\n\n" | 1203 | "\t-v\t\talways output headers giving file names\n\n" |
1203 | "If the first character of N (bytes or lines) is a `+', output begins with \n" | 1204 | "If the first character of N (bytes or lines) is a `+', output begins with \n" |
1204 | "the Nth item from the start of each file, otherwise, print the last N items\n" | 1205 | "the Nth item from the start of each file, otherwise, print the last N items\n" |