2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Merge pull request #5071 from xuweibj/I4937

support rinv/rvitals run with Verbose option only
This commit is contained in:
Mark Gurevich 2018-04-10 09:23:46 -04:00 committed by GitHub
commit 3bca037c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,8 +220,8 @@ class OpenBMCManager(base.BaseManager):
def rinv(self, nodesinfo, args):
# 1, parse agrs
if not args:
args = ['all']
if not args or (len(args) == 1 and args[0] in ['-V', '--verbose']):
args.append('all')
rinv_usage = """
Usage:
@ -388,8 +388,8 @@ class OpenBMCManager(base.BaseManager):
def rvitals(self, nodesinfo, args):
# 1, parse agrs
if not args:
args = ['all']
if not args or (len(args) == 1 and args[0] in ['-V', '--verbose']):
args.append('all')
rvitals_usage = """
Usage: