#NEWLINE# def get_parser( self , prog_name ) : #NEWLINE# #INDENT# parser = super ( ShowLimits , self ) . get_parser ( prog_name ) #NEWLINE# type_group = parser . add_mutually_exclusive_group ( required = True ) #NEWLINE# type_group . add_argument ( '--absolute' , dest = 'is_absolute' , action = 'store_true' , default = False , help = 'Show absolute limits' ) #NEWLINE# type_group . add_argument ( '--rate' , dest = 'is_rate' , action = 'store_true' , default = False , help = 'Show rate limits' ) #NEWLINE# parser . add_argument ( '--reserved' , dest = 'is_reserved' , action = 'store_true' , default = False , help = 'Include reservations count [only valid with --absolute]' ) #NEWLINE# parser . add_argument ( '--project' , metavar = '<project>' , help = 'Show limits for a specific project (name or ID) [only valid with --absolute]' ) #NEWLINE# parser . add_argument ( '--domain' , metavar = '<domain>' , help = 'Domain the project belongs to (name or ID) [only valid with --absolute]' ) #NEWLINE# return parser