From: Phillip Berndt Date: Thu, 19 Apr 2018 20:18:08 +0000 (+0200) Subject: fixup: Also allow -c instead of --change X-Git-Tag: 1.6~12 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=commitdiff_plain;h=42c50e502ed30c10c1a2bd3cefe003861963cf61 fixup: Also allow -c instead of --change --- diff --git a/autorandr.py b/autorandr.py index 275b0c6..57943f7 100755 --- a/autorandr.py +++ b/autorandr.py @@ -1243,7 +1243,7 @@ def main(argv): if "-d" in options: options["--default"] = options["-d"] - if not load_profile and "--default" in options and "--change" in options: + if not load_profile and "--default" in options and ("-c" in options or "--change" in options): load_profile = options["--default"] if load_profile: