| `puppet facts` has default action the `show` subcommand. The default action has specific options like `-custom-dir <path>`, `-show-legacy`... The `puppet facts` command fails when a subcommand specific option is provided:
~~ puppet facts --show-legacy |
Error: Could not parse application options: invalid option: --show-legacy |
Desired Behavior: `puppet facts` should work with the default action's options and also it should display the options when `–help` is provided. |