dbrtools/dbr/diffenv.py
changeset 178 eab8a264a833
equal deleted inserted replaced
176:6d3c3db11e72 178:eab8a264a833
       
     1 # Copyright (c) 2009 Symbian Foundation Ltd
       
     2 # This component and the accompanying materials are made available
       
     3 # under the terms of the License "Eclipse Public License v1.0"
       
     4 # which accompanies this distribution, and is available
       
     5 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     6 #
       
     7 # Initial Contributors:
       
     8 # Symbian Foundation Ltd - initial contribution.
       
     9 #
       
    10 # Contributors:
       
    11 # mattd <mattd@symbian.org>
       
    12 #
       
    13 # Description:
       
    14 # DBR diffenv - compares two environments
       
    15 
       
    16 import sys
       
    17 import dbrpatch
       
    18 
       
    19 def run(args):
       
    20     if(len(args) == 2):
       
    21       first = args[0]
       
    22       second = args[1]      
       
    23       dbrpatch.newcomparepatcheddbs(first, second)
       
    24     else:
       
    25       help()
       
    26       
       
    27 def help():
       
    28   print "Compares two environments"
       
    29   print "Usage:"
       
    30   print "\tdbr diffenv <drive1> <drive2>"
       
    31     
       
    32 
       
    33