Closed shorowit closed 10 months ago
After discussing with @jmarrec, he's going to see if we can allow openstudio execute_ruby_script --help
to continue working like it does, but forward the --help argument when a ruby script is included in the command (e.g. openstudio execute_ruby_script foo.rb --help
). He says it might require disabling CLI11's default --help and handling it conditionally, but should be doable.
Issue overview
As tested with OpenStudio-HPXML, the
--help
argument is not correctly passed to the ruby script that is being executed.Current Behavior
With OpenStudio 3.7, the CLI itself processes the
--help
argument:Expected Behavior
I'd expect it to work the same way it did in OpenStudio 3.6 where our ruby script receives the
--help
argument.Possible Solution
I would think that any argument after foo.rb should be forwarded to, and processed by, the ruby script.
Details
Environment
Some additional details about your environment for this issue (if relevant):