server/serverctl.py
changeset 8984 0f2fad7a92d4
parent 8924 8666438778c7
child 9002 f98d1c46ed9f
equal deleted inserted replaced
8979:8f5416b1562a 8984:0f2fad7a92d4
  1064         for key, val in stats.iteritems():
  1064         for key, val in stats.iteritems():
  1065             if val:
  1065             if val:
  1066                 print key, ':', val
  1066                 print key, ':', val
  1067 
  1067 
  1068 class SchemaDiffCommand(Command):
  1068 class SchemaDiffCommand(Command):
  1069     """ generate a diff between schema and fsschema description
  1069     """Generate a diff between schema and fsschema description.
  1070     <instance>
  1070 
  1071       the name of a diff tool to compare the two generated file
  1071     <instance>
       
  1072       the identifier of the instance
  1072     <diff-tool>
  1073     <diff-tool>
       
  1074       the name of the diff tool to compare the two generated files.
  1073     """
  1075     """
  1074     name = 'schema-diff'
  1076     name = 'schema-diff'
  1075     arguments = '<instance> <diff-tool>'
  1077     arguments = '<instance> <diff-tool>'
  1076     min_args = max_args = 2
  1078     min_args = max_args = 2
  1077 
  1079