def __init__(self, *args): SubCommand.__init__(self, *args) self._null_eq_empty = 0 self._dump_mismatched_tables = 0 self._simple_table_compare = 0 self.register_option('--null-eq-empty', self._null_eq_empty_handler, "Compare NULL and '' as equal. This is to" " compensate for inconsistencies in the" " configuration tool when saving values.", ['-n']) self.register_option('--boolean-as-numeric', self._boolean_as_numeric_handler, "Compare true as 1 and false as 0.", ['-b']) self.register_option('--dump-mismatched-tables', self._dump_mismatched_tables_handler, "Also dump the differences for rows in tables" " that only exist in one of the databases, or" " that have different definitions. Typically" " these rows are not included in the diff since" " every row in such tables will be different" " (and therefore implicit and quite noisy).", ['-m']) self.register_option('--simple-table-compare', self._simple_table_compare__handler, "Disable NodeDef specific analysis of the" " tables.", ['-s']) return
def __init__(self, *args): SubCommand.__init__(self, *args) _FileInfoMixin.__init__(self) self.register_option( '--and', self._and_handler, "property value\t" "Add another property, value pair to the set" " list", ['-a']) self._property_value_list = [] return
def __init__(self, *args): SubCommand.__init__(self, *args) _FileInfoMixin.__init__(self) self.register_option('--and', self._and_handler, "property value\t" "Add another property, value pair to the set" " list", ['-a']) self._property_value_list = [] return
def __init__(self, *args): SubCommand.__init__(self, *args) _FileInfoMixin.__init__(self) self._unknown_type_text = 'Unknown' self._value_only = 0 self.register_option( '--unknown-type-text', self._unknown_type_text_handler, "text\t" "Text to display if the type is not obvious.", ['-n']) self.register_option('--value-only', self._value_only_handler, "Only onput the value a the property.", ['-n']) return
def __init__(self, *args): SubCommand.__init__(self, *args) _FileInfoMixin.__init__(self) self._no_property_text = 'None' self._value_only = 0 self._all_properties = 0 self.register_option('--all-properties', self._all_properties_handler, "List all properties in the file(s).", ['-a']) self.register_option( '--no-property-text', self._no_property_text_handler, "text\t" "Text to display if there is no property.", ['-n']) self.register_option('--value-only', self._value_only_handler, "Only onput the value a the property.", ['-V']) return
def __init__(self, *args): SubCommand.__init__(self, *args) self._definitions_only = 0 self._unique_only = 0 self.register_option('--definitions-only', self._definitions_only_handler, "Only output the table definitions, not the" " row data", ['-d']) self.register_option('--unique', self._unique_only_handler, "Only output unique rows.", ['-u']) return
def __init__(self, *args): SubCommand.__init__(self, *args) _FileInfoMixin.__init__(self) self._unknown_type_text = 'Unknown' self._value_only = 0 self.register_option('--unknown-type-text', self._unknown_type_text_handler, "text\t" "Text to display if the type is not obvious.", ['-n']) self.register_option('--value-only', self._value_only_handler, "Only onput the value a the property.", ['-n']) return
def __init__(self, *args): SubCommand.__init__(self, *args) _FileInfoMixin.__init__(self) self._no_property_text = 'None' self._value_only = 0 self._all_properties = 0 self.register_option('--all-properties', self._all_properties_handler, "List all properties in the file(s).", ['-a']) self.register_option('--no-property-text', self._no_property_text_handler, "text\t" "Text to display if there is no property.", ['-n']) self.register_option('--value-only', self._value_only_handler, "Only onput the value a the property.", ['-V']) return
def __init__(self, *args): SubCommand.__init__(self, *args) _FileInfoMixin.__init__(self) return
def __init__(self, *args): SubCommand.__init__(self, *args) return