]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
fixup: Also allow -c instead of --change
authorPhillip Berndt <phillip.berndt@googlemail.com>
Thu, 19 Apr 2018 20:18:08 +0000 (22:18 +0200)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Thu, 19 Apr 2018 20:18:08 +0000 (22:18 +0200)
autorandr.py

index 275b0c652d7a0ea22e570d57129b165c71c11336..57943f7c6c80452eea1d6916b4fe14192a5aee0a 100755 (executable)
@@ -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: