代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/nbdkit 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From eb44ca26a84c369a7908f19517c0a2f8f621d57f Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 13 Jun 2023 20:25:40 +0100
Subject: [PATCH 02/15] tar: Document the optional tar option in --help output
and synopsis
Fixes: commit 05b49f89dccb0ca3fd0919e9502c54dbcadf0b73
---
filters/tar/nbdkit-tar-filter.pod | 1 +
filters/tar/tar.c | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/filters/tar/nbdkit-tar-filter.pod b/filters/tar/nbdkit-tar-filter.pod
index 96aba16d9..eb0cfd4ab 100644
--- a/filters/tar/nbdkit-tar-filter.pod
+++ b/filters/tar/nbdkit-tar-filter.pod
@@ -5,6 +5,7 @@ nbdkit-tar-filter - read and write files inside tar files without unpacking
=head1 SYNOPSIS
nbdkit file FILENAME.tar --filter=tar tar-entry=PATH_INSIDE_TAR
+ [tar=TAR_COMMAND]
=head1 EXAMPLES
diff --git a/filters/tar/tar.c b/filters/tar/tar.c
index c650a3499..f3adb2c46 100644
--- a/filters/tar/tar.c
+++ b/filters/tar/tar.c
@@ -96,8 +96,9 @@ tar_config_complete (nbdkit_next_config_complete *next,
return next (nxdata);
}
-#define tar_config_help \
- "tar-entry=<FILENAME> (required) The path inside the tar file to serve."
+#define tar_config_help \
+ "tar-entry=<FILENAME> (required) The path inside the tar file to serve.\n" \
+ "tar=<PATH> Path of the tar binary."
static int
tar_thread_model (void)
--
2.41.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。