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:
Philipp Maier 2018-07-04 12:11:29 +02:00
parent b2f56ad3fc
commit 75aa246987
1 changed files with 2 additions and 6 deletions

View File

@ -37,7 +37,6 @@ def banner():
def helptext():
print " * Commandline options:"
print " -v, --verbose .................. Enable debug output (trace APDUs)"
print " -a, --adm1 CHV ................. Administrator PIN (e.g 55538407)"
print " -u, --usim ..................... Enable USIM mode"
print " -c, --classic .................. Disable USIM mode (make classic-sim)"
@ -63,7 +62,6 @@ def main(argv):
getopt_adm1 = None
getopt_write_sim_mode = None # True = USIM, False = classic SIM
getopt_show_sim_mode = False
getopt_verbose = False
getopt_show_auth = False
getopt_write_auth = None
getopt_show_milenage = False
@ -81,8 +79,8 @@ def main(argv):
# Analyze commandline options
try:
opts, args = getopt.getopt(argv,
"hva:ucmtT:lL:oO:C:kK:fiI:sS",
["help","verbose","adm1=","usim","classic",
"ha:ucmtT:lL:oO:C:kK:fiI:sS",
["help","adm1=","usim","classic",
"mode","auth","set-auth=","milenage",
"set-milenage","opc","set-op=","set-opc=",
"ki","set-ki=","force","iccid","set-iccid=",
@ -95,8 +93,6 @@ def main(argv):
if opt in ("-h", "--help"):
helptext()
sys.exit()
elif opt in ("-v", "--verbose"):
getopt_verbose = True
elif opt in ("-a", "--adm1"):
getopt_adm1 = ascii_to_list(arg)
elif opt in ("-u", "--usim"):