]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Merge --cycle option (needs work)
authorPhillip Berndt <phillip.berndt@googlemail.com>
Thu, 16 Dec 2021 08:52:19 +0000 (09:52 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Thu, 16 Dec 2021 08:52:19 +0000 (09:52 +0100)
1  2 
autorandr.py

diff --cc autorandr.py
index c9c4f16985c9012ed9f9a92574fb389646314b7a,0581f57c781112ef70db1754e9223e85e504a02f..9f1f557baf14f82241cd50538e047f535f12a19d
@@@ -1214,9 -1210,9 +1215,9 @@@ def read_config(options, directory)
  def main(argv):
      try:
          opts, args = getopt.getopt(argv[1:], "s:r:l:d:cfh",
-                                    ["batch", "dry-run", "change", "default=", "save=", "remove=", "load=",
+                                    ["batch", "dry-run", "change", "cycle", "default=", "save=", "remove=", "load=",
                                      "force", "fingerprint", "config", "debug", "skip-options=", "help",
 -                                    "current", "detected", "version"])
 +                                    "list", "current", "detected", "version"])
      except getopt.GetoptError as e:
          print("Failed to parse options: {0}.\n"
                "Use --help to get usage information.".format(str(e)),