explicit default for verbosity
authorRalf Jung <post@ralfj.de>
Sun, 20 Dec 2015 17:36:03 +0000 (18:36 +0100)
committerRalf Jung <post@ralfj.de>
Sun, 20 Dec 2015 17:36:03 +0000 (18:36 +0100)
client-scripts/dyn-ns-client

index 03835d48cac2a7f259dff20100e8371edb54f9e7..88d92204e121fff6571d6dbf111aa4b9d2b09b75 100755 (executable)
@@ -162,7 +162,7 @@ if __name__ == "__main__":
                         dest="config", default=os.path.join(getConfigDir(), "dyn-ns-client.conf"),
                         help="The configuration file")
     parser.add_argument("-v", "--verbose",
                         dest="config", default=os.path.join(getConfigDir(), "dyn-ns-client.conf"),
                         help="The configuration file")
     parser.add_argument("-v", "--verbose",
-                        action="count", dest="verbose",
+                        action="count", dest="verbose", default=0,
                         help="Be more verbose")
     args = parser.parse_args()
     
                         help="Be more verbose")
     args = parser.parse_args()