[Git][reproducible-builds/diffoscope][master] Allow "--profile" as a synonym for "--profile=-".

Chris Lamb gitlab at salsa.debian.org
Thu Jul 30 10:46:49 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
ea8d1116 by Chris Lamb at 2020-07-30T11:46:31+01:00
Allow "--profile" as a synonym for "--profile=-".

- - - - -


1 changed file:

- diffoscope/main.py


Changes:

=====================================
diffoscope/main.py
=====================================
@@ -215,6 +215,9 @@ def create_parser():
         "--profile",
         metavar="OUTPUT_FILE",
         dest="profile_output",
+        nargs="?",
+        const="-",
+        default=None,
         help="Write profiling info to given file (use - for stdout)",
     )
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/ea8d1116e9afe342eebcfd56217169ce82c9dd5d

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/ea8d1116e9afe342eebcfd56217169ce82c9dd5d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200730/0b75ae0a/attachment.htm>


More information about the rb-commits mailing list