Skip to content

Commit

Permalink
Fixes #12813: rudder-cli : KeyError: 'compliances' and error on direc…
Browse files Browse the repository at this point in the history
…tive list
  • Loading branch information
ncharles committed Jun 21, 2018
1 parent f285dc7 commit e5b002a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/rudder-cli
Expand Up @@ -286,7 +286,7 @@ if __name__ == "__main__":
args2 = docopt(update_doc(__doc__), argv=sys.argv[1:])
elif 'compliance' in args or 'compliances' in args:
# subcommand options
objname = 'compliances'
objname = 'compliance'
argv = [ objname ] + args['<args>']
args2 = docopt(update_doc(__doc__, objname), argv=argv)
else:
Expand Down

0 comments on commit e5b002a

Please sign in to comment.