summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-01-24 20:14:21 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-01-24 20:14:21 -0800
commitfe50593c66d8cf7ee527fa13928990595d8b0a29 (patch)
tree1441d6ba95669620e9b89c1b1d8077207454980b /lib
parentbe354e85c9d168b5764f8fec6cd1da53a5b4a7fe (diff)
downloadspack-fe50593c66d8cf7ee527fa13928990595d8b0a29.tar.gz
spack-fe50593c66d8cf7ee527fa13928990595d8b0a29.tar.bz2
spack-fe50593c66d8cf7ee527fa13928990595d8b0a29.tar.xz
spack-fe50593c66d8cf7ee527fa13928990595d8b0a29.zip
Minor line width reductions.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/mirror.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/mirror.py b/lib/spack/spack/cmd/mirror.py
index 885483a840..92b92e07af 100644
--- a/lib/spack/spack/cmd/mirror.py
+++ b/lib/spack/spack/cmd/mirror.py
@@ -53,11 +53,13 @@ def setup_parser(subparser):
create_parser.add_argument('-d', '--directory', default=None,
help="Directory in which to create mirror.")
create_parser.add_argument(
- 'specs', nargs=argparse.REMAINDER, help="Specs of packages to put in mirror")
+ 'specs', nargs=argparse.REMAINDER,
+ help="Specs of packages to put in mirror")
create_parser.add_argument(
'-f', '--file', help="File with specs of packages to put in mirror.")
create_parser.add_argument(
- '-D', '--dependencies', action='store_true', help="Also fetch all dependencies")
+ '-D', '--dependencies', action='store_true',
+ help="Also fetch all dependencies")
create_parser.add_argument(
'-o', '--one-version-per-spec', action='store_const', const=1, default=0,
help="Only fetch one 'preferred' version per spec, not all known versions.")
@@ -74,7 +76,8 @@ def setup_parser(subparser):
help="Configuration scope to modify.")
# Remove
- remove_parser = sp.add_parser('remove', aliases=['rm'], help=mirror_remove.__doc__)
+ remove_parser = sp.add_parser('remove', aliases=['rm'],
+ help=mirror_remove.__doc__)
remove_parser.add_argument('name')
remove_parser.add_argument(
'--scope', choices=scopes, default=spack.cmd.default_modify_scope,