diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 14:46:56 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 14:46:56 +0100 |
commit | af3f42011628585cd5c8f5c1fd4b43f2e370a23d (patch) | |
tree | 125ee16d5080008fcf459ad55d91af1dcd488ef9 /coreutils/dd.c | |
parent | 5b966c6180c139fba6846d632fd9bc0c34a8e1bc (diff) | |
download | busybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.tar.gz busybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.tar.bz2 busybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.zip |
Convert all coreutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r-- | coreutils/dd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 4dc302926..3d1ba2ee6 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -2,12 +2,10 @@ | |||
2 | /* | 2 | /* |
3 | * Mini dd implementation for busybox | 3 | * Mini dd implementation for busybox |
4 | * | 4 | * |
5 | * | ||
6 | * Copyright (C) 2000,2001 Matt Kraai | 5 | * Copyright (C) 2000,2001 Matt Kraai |
7 | * | 6 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 8 | */ |
10 | |||
11 | //config:config DD | 9 | //config:config DD |
12 | //config: bool "dd" | 10 | //config: bool "dd" |
13 | //config: default y | 11 | //config: default y |
@@ -53,6 +51,10 @@ | |||
53 | //config: help | 51 | //config: help |
54 | //config: Enables support for status=noxfer/none option. | 52 | //config: Enables support for status=noxfer/none option. |
55 | 53 | ||
54 | //applet:IF_DD(APPLET_NOEXEC(dd, dd, BB_DIR_BIN, BB_SUID_DROP, dd)) | ||
55 | |||
56 | //kbuild:lib-$(CONFIG_DD) += dd.o | ||
57 | |||
56 | //usage:#define dd_trivial_usage | 58 | //usage:#define dd_trivial_usage |
57 | //usage: "[if=FILE] [of=FILE] " IF_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" | 59 | //usage: "[if=FILE] [of=FILE] " IF_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" |
58 | //usage: " [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync] [iflag=skip_bytes]") | 60 | //usage: " [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync] [iflag=skip_bytes]") |