From 30dcecc3283f6ce1ca51964eb73f64dc8655cd23 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Fri, 23 Feb 2018 11:53:48 +0100 Subject: [PATCH] Print defaults on cmdline --- conda/conda-bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conda/conda-bootstrap.py b/conda/conda-bootstrap.py index a97fc29..9fe6286 100755 --- a/conda/conda-bootstrap.py +++ b/conda/conda-bootstrap.py @@ -96,8 +96,8 @@ def main(): parser = argparse.ArgumentParser(description='Creates a new conda environment with the build/run/test dependencies of a package') parser.add_argument('name', help='name of the target environment to create') - parser.add_argument('python', help='version of python to build the environment for', nargs='?', default='3.6') - parser.add_argument('path', help='path to the directory containing the conda recipe', nargs='?', default='conda') + parser.add_argument('python', help='version of python to build the environment for [default: %(default)s]', nargs='?', default='3.6') + parser.add_argument('path', help='path to the directory containing the conda recipe [default: %(default)s]', nargs='?', default='conda') args = parser.parse_args() -- GitLab