(self)
return all_opt
Get command line options not used/fetched by Cmdp.get()
Get command line options not used/fetched by Cmdp.get()
Get command line options not used / fetched by Cmdp . get ()
def missing_options(self):
        """Get command line options not used/fetched by Cmdp.get()
        """
        all_opt = []
        for pos in range(len(self._argv_split['GEN_OPT'])):
            if (pos not in self._argv_consumed_options['GEN_OPT'] and
                    pos not in self._argv_consumed_params['GEN_OPT']):
                all_opt.append(self._argv_split['GEN_OPT'][pos])

        for pos in range(len(self._argv_split['CMD_OPT'])):
            if (pos not in self._argv_consumed_options['CMD_OPT'] and
                    pos not in self._argv_consumed_params['CMD_OPT']):
                all_opt.append(self._argv_split['CMD_OPT'][pos])

        return all_opt
def missing_options ( self ) : all_opt = [ ] for pos in range ( len ( self . _argv_split [ 'GEN_OPT' ] ) ) : if ( pos not in self . _argv_consumed_options [ 'GEN_OPT' ] and pos not in self . _argv_consumed_params [ 'GEN_OPT' ] ) : all_opt . append ( self . _argv_split [ 'GEN_OPT' ] [ pos ] ) for pos in range ( len ( self . _argv_split [ 'CMD_OPT' ] ) ) : if ( pos not in self . _argv_consumed_options [ 'CMD_OPT' ] and pos not in self . _argv_consumed_params [ 'CMD_OPT' ] ) : all_opt . append ( self . _argv_split [ 'CMD_OPT' ] [ pos ] ) return all_opt