#NEWLINE# def call( self ) : #NEWLINE# #INDENT# self . show_all = False #NEWLINE# self . show_numeric = False #NEWLINE# self . show_listen = False #NEWLINE# func = self . do_netstat_normal #NEWLINE# for x in func . args : #NEWLINE# #INDENT# if ( x . startswith ( '-' ) and x . count ( 'a' ) ) : #NEWLINE# #INDENT# self . show_all = True #NEWLINE# #UNINDENT# if ( x . startswith ( '-' ) and x . count ( 'n' ) ) : #NEWLINE# #INDENT# self . show_numeric = True #NEWLINE# #UNINDENT# if ( x . startswith ( '-' ) and x . count ( 'l' ) ) : #NEWLINE# #INDENT# self . show_listen = True #NEWLINE# #UNINDENT# if ( x . startswith ( '-' ) and x . count ( 'r' ) ) : #NEWLINE# #INDENT# func = self . do_netstat_route #NEWLINE# #UNINDENT# if ( x . startswith ( '-' ) and x . count ( 'h' ) ) : #NEWLINE# #INDENT# func = self . show_help #NEWLINE# #UNINDENT# if ( x . startswith ( '-' ) and x . count ( 'V' ) ) : #NEWLINE# #INDENT# func = self . show_version #NEWLINE# #UNINDENT# #UNINDENT# func ( )