cpio: if longopts are enabled, accept --null (synonym for -0)
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 6 Jul 2018 18:50:30 +0000 (20:50 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 6 Jul 2018 18:50:30 +0000 (20:50 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/cpio.c

index 01f82379eca86a3106c3a9a39fe55e07bc7369c2..9cacf9de60849a9c80cdd1d2df368fd7bcfc4908 100644 (file)
@@ -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"
                ;