tar: fix fallout of: change -a from meaning "lzma" to mean "autodetect by extension"
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 25 Oct 2019 08:30:53 +0000 (10:30 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 25 Oct 2019 08:30:53 +0000 (10:30 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/tar.c

index 4f64d22861991aa44c8ad9edd67ae1298f5d2d9d..4ab38db29633bdb36c6b7988499dbdd27293f1a0 100644 (file)
@@ -1029,7 +1029,7 @@ int tar_main(int argc UNUSED_PARAM, char **argv)
                IF_FEATURE_TAR_CREATE("c--tx:t--cx:x--ct") // mutually exclusive
                IF_NOT_FEATURE_TAR_CREATE("t--x:x--t") // mutually exclusive
 #if ENABLE_FEATURE_TAR_LONG_OPTIONS
-               ":\xf9+" // --strip-components=NUM
+               ":\xf8+" // --strip-components=NUM
 #endif
                LONGOPTS
                , &base_dir // -C dir