voxpupuli / hiera-eyaml

A backend for Hiera that provides per-value asymmetric encryption of sensitive data
MIT License
527 stars 130 forks source link

pkcs7-subject option in wrong place #109

Open gtmtech opened 9 years ago

gtmtech commented 9 years ago

pkcs7-subject cmdline object has been added globally rather than to the pkcs7 createkeys plugin

gtmtech commented 9 years ago

The problem occurs when e.g. "eyaml version --help" reveals --pkcs7 stuff on a "version" command, when obviously this makes no sense. The offending code is self.all_options in subcommand.rb, which contains no context info for which verbs to attach the options too.