summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-09-28 11:09:31 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2016-09-28 12:09:31 -0400
commit6df84a794b27d3c16f5d72fc2e11f7f61b109859 (patch)
tree2e24404dff11c09fd7804dd9720cb9f5d5105aff /lib
parent78f4081bc96afdf595336d66a1b3c67d014a27b1 (diff)
downloadspack-6df84a794b27d3c16f5d72fc2e11f7f61b109859.tar.gz
spack-6df84a794b27d3c16f5d72fc2e11f7f61b109859.tar.bz2
spack-6df84a794b27d3c16f5d72fc2e11f7f61b109859.tar.xz
spack-6df84a794b27d3c16f5d72fc2e11f7f61b109859.zip
Add single letter arg flags for spack graph (#1871)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/graph.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/graph.py b/lib/spack/spack/cmd/graph.py
index 3f7ab8bc2f..ed3aed1946 100644
--- a/lib/spack/spack/cmd/graph.py
+++ b/lib/spack/spack/cmd/graph.py
@@ -39,14 +39,14 @@ def setup_parser(subparser):
method = subparser.add_mutually_exclusive_group()
method.add_argument(
- '--ascii', action='store_true',
+ '-a', '--ascii', action='store_true',
help="Draw graph as ascii to stdout (default).")
method.add_argument(
- '--dot', action='store_true',
+ '-d', '--dot', action='store_true',
help="Generate graph in dot format and print to stdout.")
subparser.add_argument(
- '--normalize', action='store_true',
+ '-n', '--normalize', action='store_true',
help="Skip concretization; only print normalized spec.")
subparser.add_argument(