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

