summaryrefslogtreecommitdiff
path: root/tar/cmdline.c
diff options
context:
space:
mode:
authorKevin Locke <kevin@kevinlocke.name>2014-01-14 20:05:40 -0700
committerKevin Locke <kevin@kevinlocke.name>2014-01-14 20:05:40 -0700
commitf52077abe8d0ab1719b77d0e771593c76916609b (patch)
tree41cfb4802363fe673e5635aa1af3ecc461d32e66 /tar/cmdline.c
parentda3ec55e71887d6b2e79f75e03e49c80650f7f0a (diff)
downloadlibarchive-f52077abe8d0ab1719b77d0e771593c76916609b.tar.gz
Add --ignore-zeros option to bsdtar
This option is an alias for --options read_concatenated_archive introduced for compatibility with GNU tar. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Diffstat (limited to 'tar/cmdline.c')
-rw-r--r--tar/cmdline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tar/cmdline.c b/tar/cmdline.c
index 4444b80c..cb096865 100644
--- a/tar/cmdline.c
+++ b/tar/cmdline.c
@@ -94,6 +94,7 @@ static const struct bsdtar_option {
{ "gzip", 0, 'z' },
{ "help", 0, OPTION_HELP },
{ "hfsCompression", 0, OPTION_HFS_COMPRESSION },
+ { "ignore-zeros", 0, OPTION_IGNORE_ZEROS },
{ "include", 1, OPTION_INCLUDE },
{ "insecure", 0, 'P' },
{ "interactive", 0, 'w' },