docopt / docopts

Shell interpreter for docopt, the command-line interface description language.
Other
494 stars 53 forks source link

test for help string including Options section #31

Closed rdonkin closed 5 years ago

rdonkin commented 5 years ago

This is to help debug issue https://github.com/docopt/docopts/issues/30 - would need to remove the log output for cleaner test.

rdonkin commented 5 years ago

@Sylvain303 - I had intended this mostly for debugging without merging to master, so I included some lines to append to the log file. Probably worth removing this code, I can do that if you agree.

Sylvain303 commented 5 years ago

Hi @rdonkin

Oh, they're in comment here: https://github.com/docopt/docopts/blob/master/tests/docopts.bats#L48

I think it doesn't hurt to let it in place for know.

Normally I merged the code as expected, we can keep this test too. "docopt_get_help_string_with_options"

Regards.