]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Handle cfn-hup non-value parameters
authorAngus Salkeld <asalkeld@redhat.com>
Thu, 26 Apr 2012 14:05:59 +0000 (00:05 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Thu, 26 Apr 2012 14:05:59 +0000 (00:05 +1000)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/cfntools/cfn-hup

index 757f73d36f25e78e0d82cd0841ac2c5517cc67c8..1291e67bde6c466ae65c101392749a17ff0754de 100755 (executable)
@@ -38,9 +38,11 @@ parser.add_argument('-c', '--config',
         default='/etc/cfn/hooks.d')
 parser.add_argument('-f', '--no-daemon',
         dest="no_deamon",
+        action="store_true",
         help="Do not run as a deamon",
         required=False)
 parser.add_argument('-v', '--verbose',
+        action="store_true",
         dest="verbose",
         help="Verbose logging",
         required=False)