From 2e5b01590e90f302151a50b2d11144a94f925ec6 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 19 Feb 2017 16:51:34 +0800 Subject: renorm_spectrum.py: Fix the positional argument error --- scripts/renorm_spectrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/renorm_spectrum.py b/scripts/renorm_spectrum.py index 2b54076..92c2132 100755 --- a/scripts/renorm_spectrum.py +++ b/scripts/renorm_spectrum.py @@ -63,7 +63,7 @@ def main(): "background [eV] (default: 12000 eV)") parser.add_argument("-r", "--spec-ref", dest="spec_ref", required=True, help="Reference (source) spectrum") - parser.add_argument("spec", dest="spec", + parser.add_argument("spec", help="(background) spectrum to be renormalized") args = parser.parse_args() -- cgit v1.2.2