aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c9
-rw-r--r--applets/usage.c27
2 files changed, 36 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index a7c5d37a0..43871b781 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -64,6 +64,9 @@ const struct BB_applet applets[] = {
64#ifdef BB_DMESG 64#ifdef BB_DMESG
65 {"dmesg", dmesg_main, _BB_DIR_BIN, dmesg_usage}, 65 {"dmesg", dmesg_main, _BB_DIR_BIN, dmesg_usage},
66#endif 66#endif
67#ifdef BB_DOS2UNIX
68 {"dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage},
69#endif
67#ifdef BB_DU 70#ifdef BB_DU
68 {"du", du_main, _BB_DIR_USR_BIN, du_usage}, 71 {"du", du_main, _BB_DIR_USR_BIN, du_usage},
69#endif 72#endif
@@ -313,6 +316,12 @@ const struct BB_applet applets[] = {
313#ifdef BB_UNIQ 316#ifdef BB_UNIQ
314 {"uniq", uniq_main, _BB_DIR_USR_BIN, uniq_usage}, 317 {"uniq", uniq_main, _BB_DIR_USR_BIN, uniq_usage},
315#endif 318#endif
319#ifdef BB_UNIX2DOS
320 {"unix2dos", unix2dos_main, _BB_DIR_USR_BIN, unix2dos_usage},
321#endif
322#ifdef BB_UNRPM
323 {"unrpm", unrpm_main, _BB_DIR_USR_BIN, unrpm_usage},
324#endif
316#ifdef BB_UPDATE 325#ifdef BB_UPDATE
317 {"update", update_main, _BB_DIR_SBIN, update_usage}, 326 {"update", update_main, _BB_DIR_SBIN, update_usage},
318#endif 327#endif
diff --git a/applets/usage.c b/applets/usage.c
index cee270220..4a3d7346a 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -207,6 +207,15 @@ const char dmesg_usage[] =
207 ; 207 ;
208#endif 208#endif
209 209
210#if defined BB_DOS2UNIX
211const char dos2unix_usage[] =
212 "dos2unix < dosfile > unixfile\n"
213#ifndef BB_FEATURE_TRIVIAL_HELP
214 "\nConverts a text file from dos format to unix format.\n"
215#endif
216 ;
217#endif
218
210#if defined BB_DU 219#if defined BB_DU
211const char du_usage[] = 220const char du_usage[] =
212 "du [OPTION]... [FILE]...\n" 221 "du [OPTION]... [FILE]...\n"
@@ -1307,6 +1316,24 @@ const char uniq_usage[] =
1307 ; 1316 ;
1308#endif 1317#endif
1309 1318
1319#if defined BB_UNIX2DOS
1320const char unix2dos_usage[] =
1321 "unix2dos < unixfile > dosfile\n"
1322#ifndef BB_FEATURE_TRIVIAL_HELP
1323 "\nConverts a text file from unix format to dos format.\n"
1324#endif
1325 ;
1326#endif
1327
1328#if defined BB_UNRPM
1329const char unrpm_usage[] =
1330 "unrpm < package.rpm | gzip -d | cpio -idmuv\n"
1331#ifndef BB_FEATURE_TRIVIAL_HELP
1332 "\nExtracts an rpm archive.\n"
1333#endif
1334 ;
1335#endif
1336
1310#if defined BB_UPDATE 1337#if defined BB_UPDATE
1311const char update_usage[] = 1338const char update_usage[] =
1312 "update [options]\n" 1339 "update [options]\n"