bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Wrong help output for --lzop option


From: Ulrich Mueller
Subject: [Bug-tar] Wrong help output for --lzop option
Date: Sun, 15 Jan 2017 14:53:52 +0100

$ 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?= <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]