#81 spectool: fix difference between --all, --sources, and --patches
Merged 2 years ago by ngompa. Opened 2 years ago by decathorpe.
Unknown source main  into  main

file modified
+1 -1
@@ -403,7 +403,7 @@

  def main() -> int:

      args = get_args()

  

-     if args["all"]:

+     if args["all"] and not args["sources"] and not args["patches"]:

          args["sources"] = True

          args["patches"] = True

  

Only if neither -P nor -S were specified should everything be printed.

Fixes #80

Pull-Request has been merged by ngompa

2 years ago
Metadata