comparison 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
comparison
equal deleted inserted replaced
688:e86568a7434d 689:cd3a00455b87
103 parser.add_argument( 103 parser.add_argument(
104 '--debug', 104 '--debug',
105 help="Show debug information.", action='store_true') 105 help="Show debug information.", action='store_true')
106 parser.add_argument( 106 parser.add_argument(
107 '--debug-only', 107 '--debug-only',
108 nargs='*', 108 action='append',
109 help="Only show debug information for the given categories.") 109 help="Only show debug information for the given categories.")
110 parser.add_argument( 110 parser.add_argument(
111 '--no-cache', 111 '--no-cache',
112 help="When applicable, disable caching.", 112 help="When applicable, disable caching.",
113 action='store_true') 113 action='store_true')