mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-29 03:14:20 +01:00
littles changes at arguments debug
This commit is contained in:
parent
d28dfa951b
commit
0199151165
|
|
@ -142,8 +142,9 @@ try:
|
|||
# For debug display/log args
|
||||
#
|
||||
try:
|
||||
logging.debug("BOSWatch given arguments")
|
||||
if args.test:
|
||||
logging.debug(" - We are in Test-Mode!")
|
||||
logging.debug(" - Test-Mode!")
|
||||
|
||||
logging.debug(" - Frequency: %s", converter.freqToHz(args.freq))
|
||||
logging.debug(" - Device: %s", args.device)
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@ def printHeader(args):
|
|||
print "Squelch: "+str(args.squelch)
|
||||
if args.verbose:
|
||||
print "Verbose Mode!"
|
||||
if args.test:
|
||||
print "Test Mode!"
|
||||
print ""
|
||||
except:
|
||||
logging.error("cannot display shell header")
|
||||
|
|
|
|||
Loading…
Reference in a new issue