remove unused uption -v --verbose
The verbose mode (APDU-Trace) is no longer implemented, so lets remove the option as well. Change-Id: Ic47864da886a3ab39384b0553fc326b8f3b4db96
This commit is contained in:
parent
b2f56ad3fc
commit
75aa246987
|
@ -37,7 +37,6 @@ def banner():
|
||||||
|
|
||||||
def helptext():
|
def helptext():
|
||||||
print " * Commandline options:"
|
print " * Commandline options:"
|
||||||
print " -v, --verbose .................. Enable debug output (trace APDUs)"
|
|
||||||
print " -a, --adm1 CHV ................. Administrator PIN (e.g 55538407)"
|
print " -a, --adm1 CHV ................. Administrator PIN (e.g 55538407)"
|
||||||
print " -u, --usim ..................... Enable USIM mode"
|
print " -u, --usim ..................... Enable USIM mode"
|
||||||
print " -c, --classic .................. Disable USIM mode (make classic-sim)"
|
print " -c, --classic .................. Disable USIM mode (make classic-sim)"
|
||||||
|
@ -63,7 +62,6 @@ def main(argv):
|
||||||
getopt_adm1 = None
|
getopt_adm1 = None
|
||||||
getopt_write_sim_mode = None # True = USIM, False = classic SIM
|
getopt_write_sim_mode = None # True = USIM, False = classic SIM
|
||||||
getopt_show_sim_mode = False
|
getopt_show_sim_mode = False
|
||||||
getopt_verbose = False
|
|
||||||
getopt_show_auth = False
|
getopt_show_auth = False
|
||||||
getopt_write_auth = None
|
getopt_write_auth = None
|
||||||
getopt_show_milenage = False
|
getopt_show_milenage = False
|
||||||
|
@ -81,8 +79,8 @@ def main(argv):
|
||||||
# Analyze commandline options
|
# Analyze commandline options
|
||||||
try:
|
try:
|
||||||
opts, args = getopt.getopt(argv,
|
opts, args = getopt.getopt(argv,
|
||||||
"hva:ucmtT:lL:oO:C:kK:fiI:sS",
|
"ha:ucmtT:lL:oO:C:kK:fiI:sS",
|
||||||
["help","verbose","adm1=","usim","classic",
|
["help","adm1=","usim","classic",
|
||||||
"mode","auth","set-auth=","milenage",
|
"mode","auth","set-auth=","milenage",
|
||||||
"set-milenage","opc","set-op=","set-opc=",
|
"set-milenage","opc","set-op=","set-opc=",
|
||||||
"ki","set-ki=","force","iccid","set-iccid=",
|
"ki","set-ki=","force","iccid","set-iccid=",
|
||||||
|
@ -95,8 +93,6 @@ def main(argv):
|
||||||
if opt in ("-h", "--help"):
|
if opt in ("-h", "--help"):
|
||||||
helptext()
|
helptext()
|
||||||
sys.exit()
|
sys.exit()
|
||||||
elif opt in ("-v", "--verbose"):
|
|
||||||
getopt_verbose = True
|
|
||||||
elif opt in ("-a", "--adm1"):
|
elif opt in ("-a", "--adm1"):
|
||||||
getopt_adm1 = ascii_to_list(arg)
|
getopt_adm1 = ascii_to_list(arg)
|
||||||
elif opt in ("-u", "--usim"):
|
elif opt in ("-u", "--usim"):
|
||||||
|
|
Loading…
Reference in New Issue