From d631aff9fd4a144cb9fce265b644aa3affbb6188 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sat, 10 Dec 2016 18:14:13 -0800 Subject: remove prog argument --- pyramid/scripts/pdistreport.py | 1 - pyramid/scripts/prequest.py | 1 - pyramid/scripts/proutes.py | 3 +-- pyramid/scripts/pshell.py | 1 - pyramid/scripts/ptweens.py | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pyramid/scripts/pdistreport.py b/pyramid/scripts/pdistreport.py index e5928bde4..1952e5d39 100644 --- a/pyramid/scripts/pdistreport.py +++ b/pyramid/scripts/pdistreport.py @@ -12,7 +12,6 @@ def out(*args): # pragma: no cover def get_parser(): parser = argparse.ArgumentParser( - prog="pdistreport", description="Show Python distribution versions and locations in use") return parser diff --git a/pyramid/scripts/prequest.py b/pyramid/scripts/prequest.py index 2025ecccc..1da54b8c0 100644 --- a/pyramid/scripts/prequest.py +++ b/pyramid/scripts/prequest.py @@ -47,7 +47,6 @@ class PRequestCommand(object): """ parser = argparse.ArgumentParser( - prog="prequest", description=textwrap.dedent(description) ) parser.add_argument( diff --git a/pyramid/scripts/proutes.py b/pyramid/scripts/proutes.py index cf3ae5e9c..26c112cde 100644 --- a/pyramid/scripts/proutes.py +++ b/pyramid/scripts/proutes.py @@ -249,9 +249,8 @@ class PRoutesCommand(object): stdout = sys.stdout ConfigParser = configparser.ConfigParser # testing parser = argparse.ArgumentParser( - prog="proutes", description=textwrap.dedent(description) - ) + ) parser.add_argument('-g', '--glob', action='store', dest='glob', diff --git a/pyramid/scripts/pshell.py b/pyramid/scripts/pshell.py index 9268c6e10..08aae6980 100644 --- a/pyramid/scripts/pshell.py +++ b/pyramid/scripts/pshell.py @@ -45,7 +45,6 @@ class PShellCommand(object): pkg_resources = pkg_resources # for testing parser = argparse.ArgumentParser( - prog="pshell", description=textwrap.dedent(description) ) parser.add_argument('-p', '--python-shell', diff --git a/pyramid/scripts/ptweens.py b/pyramid/scripts/ptweens.py index 4c1555473..7f0101323 100644 --- a/pyramid/scripts/ptweens.py +++ b/pyramid/scripts/ptweens.py @@ -28,7 +28,6 @@ class PTweensCommand(object): """ parser = argparse.ArgumentParser( - prog="ptweens", description=textwrap.dedent(description), ) -- cgit v1.2.3