代码拉取完成,页面将自动刷新
From 7da5dc099e9d4f170e35c87e2f2dd7a0a38180b3 Mon Sep 17 00:00:00 2001
From: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Date: Fri, 18 Sep 2020 15:17:38 +0800
Subject: [PATCH] obs_server: fix usage info
when we exec 'obs_serverstatus' command without other pargs,
the return usage message is 'Usage: bs_serverstatus [--top] <statusfile>'.
However, the 'bs_serverstatus' is different with input 'obs_serverstatus'.
Here, we change the usage info to 'Usage: obs_serverstatus [--top] <statusfile>'.
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
---
src/backend/bs_serverstatus | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/bs_serverstatus b/src/backend/bs_serverstatus
index 0ec50b3..139f15e 100755
--- a/src/backend/bs_serverstatus
+++ b/src/backend/bs_serverstatus
@@ -44,7 +44,7 @@ while (@ARGV) {
last;
}
}
-die("Usage: bs_serverstatus [--top] <statusfile>\n") unless $ARGV[0];
+die("Usage: obs_serverstatus [--top] <statusfile>\n") unless $ARGV[0];
$| = 1;
print "\033[H\033[J" if $top;
my $nl = "\n";
--
1.8.3.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。