From d49e268a3597b9b10171685baabee6e904180477 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 27 Sep 2015 09:02:33 +0200 Subject: [PATCH] Show warning if deprecated force argument is used --- init-headphone | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init-headphone b/init-headphone index cc12ec4..d9f0547 100755 --- a/init-headphone +++ b/init-headphone @@ -294,6 +294,8 @@ def main(): if args.verbose: logging.getLogger().setLevel(logging.DEBUG) logging.info("version %s" % VERSION) + if args.force: + logging.warning("The -f, --force argument is deprecated") command = args.command if command == "init": init()