$ tar --help | grep lzop
      --lzop                 filter the archive through xz

This is caused by a missing break statement. See patch below.


>From d9783b97aaf51ff3922bc548593ddad11def4e6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <u...@gentoo.org>
Date: Sun, 15 Jan 2017 14:28:08 +0100
Subject: [PATCH] Fix help output for --lzop option.

* git/tar/src/tar.c (tar_help_filter): Add missing break statement.
---
 src/tar.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tar.c b/src/tar.c
index fd29cd3..ca7c3a9 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1123,6 +1123,7 @@ tar_help_filter (int key, const char *text, void *input)
 
     case LZOP_OPTION:
       s = xasprintf (_("filter the archive through %s"), LZOP_PROGRAM);
+      break;
 
     case 'J':
       s = xasprintf (_("filter the archive through %s"), XZ_PROGRAM);
-- 
2.11.0


Reply via email to