summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/cmd/list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/list.py b/lib/spack/spack/cmd/list.py
index 228ab76780..9ce63fa1a4 100644
--- a/lib/spack/spack/cmd/list.py
+++ b/lib/spack/spack/cmd/list.py
@@ -42,7 +42,7 @@ def setup_parser(subparser):
'-i', '--insensitive', action='store_true', default=False,
help='Filtering will be case insensitive.')
subparser.add_argument(
- '-s', '--search_description', action='store_true', default=False,
+ '-d', '--search-description', action='store_true', default=False,
help='Filtering will also search the description for a match.')