#NEWLINE# def get_parser( self , prog_name ) : #NEWLINE# #INDENT# parser = super ( SetCredential , self ) . get_parser ( prog_name ) #NEWLINE# parser . add_argument ( 'credential' , metavar = '<credential-id>' , help = 'ID of credential to change' ) #NEWLINE# parser . add_argument ( '--user' , metavar = '<user>' , required = True , help = 'Name or ID of user that owns the credential' ) #NEWLINE# parser . add_argument ( '--type' , metavar = '<type>' , choices = [ 'ec2' , 'cert' ] , required = True , help = 'New credential type' ) #NEWLINE# parser . add_argument ( '--data' , metavar = '<data>' , required = True , help = 'New credential data' ) #NEWLINE# parser . add_argument ( '--project' , metavar = '<project>' , help = 'Project name or ID which limits the scope of the credential' ) #NEWLINE# return parser