[Git][reproducible-builds/diffoscope][master] Allow passing file with list of arguments to ArgumentParser (eg. "diffoscope...
Chris Lamb
gitlab at salsa.debian.org
Sat Jul 11 10:52:12 UTC 2020
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
b2799af7 by Jean-Romain Garnier at 2020-07-11T11:51:30+01:00
Allow passing file with list of arguments to ArgumentParser (eg. "diffoscope @args.txt"). (MR: reproducible-builds/diffoscope!62)
Signed-off-by: Chris Lamb <lamby at debian.org>
- - - - -
1 changed file:
- diffoscope/main.py
Changes:
=====================================
diffoscope/main.py
=====================================
@@ -88,6 +88,7 @@ def create_parser():
description="Calculate differences between two files or directories",
add_help=False,
formatter_class=HelpFormatter,
+ fromfile_prefix_chars="@",
)
parser.add_argument(
"path1",
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/b2799af755a2eec396b16313e15573235686fac1
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/b2799af755a2eec396b16313e15573235686fac1
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/20200711/e273ecf8/attachment.htm>
More information about the rb-commits
mailing list