diff options
| author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-04-27 06:02:14 +0000 |
|---|---|---|
| committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-04-27 06:02:14 +0000 |
| commit | f01b805d9142bad42ebd8d0b4f6770bf06fb2cc3 (patch) | |
| tree | 3a0adfb6330858de103e96a5b42d3f76418502af /include | |
| parent | c91ce5709998976d8b6614b3ac6201692d20eb94 (diff) | |
| download | busybox-w32-f01b805d9142bad42ebd8d0b4f6770bf06fb2cc3.tar.gz busybox-w32-f01b805d9142bad42ebd8d0b4f6770bf06fb2cc3.tar.bz2 busybox-w32-f01b805d9142bad42ebd8d0b4f6770bf06fb2cc3.zip | |
New applet, fold
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/usage.h | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 7267b8248..668c84914 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -202,6 +202,9 @@ | |||
| 202 | #ifdef CONFIG_FIND | 202 | #ifdef CONFIG_FIND |
| 203 | APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 203 | APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 204 | #endif | 204 | #endif |
| 205 | #ifdef CONFIG_FOLD | ||
| 206 | APPLET(fold, fold_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
| 207 | #endif | ||
| 205 | #ifdef CONFIG_FREE | 208 | #ifdef CONFIG_FREE |
| 206 | APPLET(free, free_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 209 | APPLET(free, free_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 207 | #endif | 210 | #endif |
diff --git a/include/usage.h b/include/usage.h index 6848549f7..e98e8b97c 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -627,6 +627,16 @@ | |||
| 627 | "$ find / -name /etc/passwd\n" \ | 627 | "$ find / -name /etc/passwd\n" \ |
| 628 | "/etc/passwd\n" | 628 | "/etc/passwd\n" |
| 629 | 629 | ||
| 630 | #define fold_trivial_usage \ | ||
| 631 | "[bsw] [FILE]" | ||
| 632 | #define fold_full_usage \ | ||
| 633 | "Wrap input lines in each FILE (standard input by default), writing to\n" \ | ||
| 634 | "standard output.\n\n" \ | ||
| 635 | "Options:\n" \ | ||
| 636 | "\t-b\tcount bytes rather than columns\n" \ | ||
| 637 | "\t-s\tbreak at spaces\n" \ | ||
| 638 | "\t-w\tuse WIDTH columns instead of 80\n" | ||
| 639 | |||
| 630 | #define free_trivial_usage \ | 640 | #define free_trivial_usage \ |
| 631 | "" | 641 | "" |
| 632 | #define free_full_usage \ | 642 | #define free_full_usage \ |
