diff piecrust/main.py @ 689:cd3a00455b87

chef: Fix `--debug-only` argument.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 14 Mar 2016 21:40:26 -0700
parents 81d9c3a3a0b5
children 4850f8c21b6e
line wrap: on
line diff
--- a/piecrust/main.py	Mon Mar 14 21:40:00 2016 -0700
+++ b/piecrust/main.py	Mon Mar 14 21:40:26 2016 -0700
@@ -105,7 +105,7 @@
             help="Show debug information.", action='store_true')
     parser.add_argument(
             '--debug-only',
-            nargs='*',
+            action='append',
             help="Only show debug information for the given categories.")
     parser.add_argument(
             '--no-cache',