summaryrefslogtreecommitdiff
path: root/tar/cmdline.c
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2009-03-12 17:27:42 -0400
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2009-03-12 17:27:42 -0400
commitc359be02a1851dae4d3d8cecf8d6758cef272845 (patch)
tree0136308caefcf8ffcfb36dfa0b03ce7db7ad6ee5 /tar/cmdline.c
parentec995d0b75554725e9892ff06a0aa7361b4dd1ca (diff)
downloadlibarchive-c359be02a1851dae4d3d8cecf8d6758cef272845.tar.gz
Reassign option -J to xz compression(--xz) at bsdtar.
gtar 1.22 has been changed it. SVN-Revision: 762
Diffstat (limited to 'tar/cmdline.c')
-rw-r--r--tar/cmdline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tar/cmdline.c b/tar/cmdline.c
index c24b3d54..42c83248 100644
--- a/tar/cmdline.c
+++ b/tar/cmdline.c
@@ -93,7 +93,7 @@ static struct option {
{ "keep-newer-files", 0, OPTION_KEEP_NEWER_FILES },
{ "keep-old-files", 0, 'k' },
{ "list", 0, 't' },
- { "lzma", 0, 'J' },
+ { "lzma", 0, OPTION_LZMA },
{ "modification-time", 0, 'm' },
{ "newer", 1, OPTION_NEWER_CTIME },
{ "newer-ctime", 1, OPTION_NEWER_CTIME },
@@ -123,7 +123,7 @@ static struct option {
{ "use-compress-program", 1, OPTION_USE_COMPRESS_PROGRAM },
{ "verbose", 0, 'v' },
{ "version", 0, OPTION_VERSION },
- { "xz", 0, OPTION_XZ },
+ { "xz", 0, 'J' },
{ NULL, 0, 0 }
};