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

support rinv/rvitals run with Verbose option only

This commit is contained in:
XuWei 2018-04-09 22:30:03 -04:00
parent aef3850b0e
commit 94cd47a001

View File

@ -217,8 +217,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:
@ -385,8 +385,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: