mirror of
https://github.com/inspec/inspec
synced 2024-11-14 17:07:09 +00:00
Fixed the formatting of inspec exec -h
by not using long_desc.
long_desc does some really bad word wrapping stuff that totally breaks our formatting of the output (like code blocks). So, don't use it. If we like this, I will apply it to all of them. Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
d1ffce7278
commit
8b0f6efb41
1 changed files with 3 additions and 3 deletions
|
@ -208,9 +208,9 @@ class Inspec::InspecCLI < Inspec::BaseCLI
|
|||
pretty_handle_exception(e)
|
||||
end
|
||||
|
||||
desc "exec LOCATIONS", "run all test files at the specified LOCATIONS."
|
||||
# TODO: find a way for Thor not to butcher the formatting of this
|
||||
long_desc <<~EOT
|
||||
desc "exec LOCATIONS", <<~EOT
|
||||
Run all test files at the specified LOCATIONS.
|
||||
|
||||
Loads the given profile(s) and fetches their dependencies if needed. Then
|
||||
connects to the target and executes any controls contained in the profiles.
|
||||
One or more reporters are used to generate output.
|
||||
|
|
Loading…
Reference in a new issue