代码拉取完成,页面将自动刷新
From af6413bcf626d37028788e18366386fc6c873982 Mon Sep 17 00:00:00 2001
From: Tomas Jelinek <[email protected]>
Date: Thu, 26 Sep 2024 16:14:13 +0200
Subject: [PATCH 049/100] add overwrite to pcs cluster report documentation
---
pcs/pcs.8.in | 4 ++--
pcs/usage.py | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/pcs/pcs.8.in b/pcs/pcs.8.in
index 91974e9b..ab00f5bd 100644
--- a/pcs/pcs.8.in
+++ b/pcs/pcs.8.in
@@ -695,8 +695,8 @@ Permanently destroy the cluster on the current node, killing all cluster process
verify [\fB\-\-full\fR] [\fB\-f\fR <filename>]
Checks the pacemaker configuration (CIB) for syntax and common conceptual errors. If no filename is specified the check is performed on the currently running cluster. If \fB\-\-full\fR is used more verbose output will be printed.
.TP
-report [\fB\-\-from\fR "YYYY\-M\-D H:M:S" [\fB\-\-to\fR "YYYY\-M\-D H:M:S"]] <dest>
-Create a tarball containing everything needed when reporting cluster problems. If \fB\-\-from\fR and \fB\-\-to\fR are not used, the report will include the past 24 hours.
+report [\fB\-\-from\fR "YYYY\-M\-D H:M:S" [\fB\-\-to\fR "YYYY\-M\-D H:M:S"]] <dest> [\fB\-\-overwrite]\fR
+Create a tarball containing everything needed when reporting cluster problems. If \fB\-\-from\fR and \fB\-\-to\fR are not used, the report will include the past 24 hours. No existing files will be overwritten, unless \fB\-\-overwrite\fR is specified.
.SS "stonith"
.TP
[status [<resource id | tag id>] [node=<node>] [\fB\-\-hide\-inactive\fR]]
diff --git a/pcs/usage.py b/pcs/usage.py
index d0b14d11..20677eca 100644
--- a/pcs/usage.py
+++ b/pcs/usage.py
@@ -1870,9 +1870,11 @@ Commands:
will be printed.
report [--from "YYYY-M-D H:M:S" [--to "YYYY-M-D H:M:S"]] <dest>
+ [--overwrite]
Create a tarball containing everything needed when reporting cluster
- problems. If --from and --to are not used, the report will include
- the past 24 hours.
+ problems. If --from and --to are not used, the report will include
+ the past 24 hours. No existing files will be overwritten, unless
+ --overwrite is specified.
""".format(
config_show_syntax=_format_syntax(_CLUSTER_CONFIG_SHOW_SYNTAX),
config_show_desc=_format_desc(_CLUSTER_CONFIG_SHOW_DESC),
--
2.25.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。