Clean up and add comments
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com> Change-Id: Id30c0ccb68918e109533593df7c360837bdfa002
This commit is contained in:
committed by
Arif, Maisam
parent
c5c8e98def
commit
4e8ed1f3e3
@@ -1027,6 +1027,7 @@ class AMDSMIParser(argparse.ArgumentParser):
|
||||
metric_parser.add_argument('-T', '--throttle', dest='throttle', action='store_true', required=False, help=argparse.SUPPRESS)
|
||||
|
||||
# Options to only display to Hypervisors
|
||||
# Need to resolve the -G for gaurd, but technically should never interset since it's VF only
|
||||
if self.helpers.is_hypervisor():
|
||||
metric_parser.add_argument('-s', '--schedule', action='store_true', required=False, help=schedule_help)
|
||||
metric_parser.add_argument('-G', '--guard', action='store_true', required=False, help=guard_help)
|
||||
|
||||
Reference in New Issue
Block a user