[git commit] gzip: add support for --no-name long option
Denys Vlasenko
vda.linux at googlemail.com
Tue Oct 27 20:30:43 UTC 2015
commit: http://git.busybox.net/busybox/commit/?id=cddc98eab7d770427941db4abae2da4ae68f1e68
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Add support for --no-name long option. Just silently ignore it
like the short -n option.
This allows to use busybox gzip with Lynx browser.
Signed-off-by: Aaro Koskinen <aaro.koskinen at iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
archival/bbunzip.c | 1 +
archival/gzip.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index e10372e..b4f754e 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -335,6 +335,7 @@ static const char gunzip_longopts[] ALIGN1 =
"to-stdout\0" No_argument "c"
"force\0" No_argument "f"
"test\0" No_argument "t"
+ "no-name\0" No_argument "n"
;
#endif
diff --git a/archival/gzip.c b/archival/gzip.c
index c917130..f9bb3c7 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -2160,6 +2160,7 @@ static const char gzip_longopts[] ALIGN1 =
"quiet\0" No_argument "q"
"fast\0" No_argument "1"
"best\0" No_argument "9"
+ "no-name\0" No_argument "n"
;
#endif
More information about the busybox-cvs
mailing list