Skip to content

Commit

Permalink
Show warning if deprecated force argument is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Unrud committed Sep 27, 2015
1 parent d98b649 commit d49e268
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init-headphone
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d49e268

Please sign in to comment.