From 6554c02ff39619d7b08da799ce8aa3352d1839e4 Mon Sep 17 00:00:00 2001 From: PeterLaemmle Date: Tue, 25 Oct 2016 18:59:56 +0200 Subject: [PATCH] Update boswatch.py Make --device a required argument. --- boswatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boswatch.py b/boswatch.py index ec83519..071028e 100755 --- a/boswatch.py +++ b/boswatch.py @@ -43,7 +43,7 @@ try: epilog="More options you can find in the extern config.ini file in the folder /config") # parser.add_argument("-c", "--channel", help="BOS Channel you want to listen") parser.add_argument("-f", "--freq", help="Frequency you want to listen", required=True) - parser.add_argument("-d", "--device", help="Device you want to use (Check with rtl_test)") + parser.add_argument("-d", "--device", help="Device you want to use (Check with rtl_test)", required=True) parser.add_argument("-e", "--error", help="Frequency-Error of your device in PPM", type=int, default=0) parser.add_argument("-a", "--demod", help="Demodulation functions", choices=['FMS', 'ZVEI', 'POC512', 'POC1200', 'POC2400'], required=True, nargs="+") parser.add_argument("-s", "--squelch", help="Level of squelch", type=int, default=0)