aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-07-06 20:50:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-07-06 20:50:30 +0200
commit9be4d4fe442aa9e23675b1c0a8b1394e77998961 (patch)
treefb4a982250fc2f597f19543534d13985a8445ed2
parent4d0e2d5b6d563fd8adb5940a42d73a43c812378b (diff)
downloadbusybox-9be4d4fe442aa9e23675b1c0a8b1394e77998961.tar.gz
cpio: if longopts are enabled, accept --null (synonym for -0)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/cpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/archival/cpio.c b/archival/cpio.c
index 01f82379e..9cacf9de6 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -376,6 +376,7 @@ int cpio_main(int argc UNUSED_PARAM, char **argv)
#endif
"owner\0" Required_argument "R"
"verbose\0" No_argument "v"
+ "null\0" No_argument "0"
"quiet\0" No_argument "\xff"
"to-stdout\0" No_argument "\xfe"
;