aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/Config.in2
-rw-r--r--archival/cpio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/Config.in b/archival/Config.in
index 1ea6f3d16..cae7f20bb 100644
--- a/archival/Config.in
+++ b/archival/Config.in
@@ -256,7 +256,7 @@ config FEATURE_TAR_GNU_EXTENSIONS
config FEATURE_TAR_LONG_OPTIONS
bool "Enable long options"
default n
- depends on TAR && GETOPT_LONG
+ depends on TAR && LONG_OPTS
help
Enable use of long options, increases size by about 400 Bytes
diff --git a/archival/cpio.c b/archival/cpio.c
index 4cf3c2c50..a6484e5c0 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -273,7 +273,7 @@ int cpio_main(int argc UNUSED_PARAM, char **argv)
IF_FEATURE_CPIO_O(const char *cpio_fmt = "";)
unsigned opt;
-#if ENABLE_GETOPT_LONG
+#if ENABLE_LONG_OPTS
applet_long_options =
"extract\0" No_argument "i"
"list\0" No_argument "t"