HomePhorge

(#7828) Fix whitespace in synopsis generator.
0ae4732fd905Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7828) Fix whitespace in synopsis generator.

We accidentally omitted whitespace between multiple options while building the
synopsis. This fixes that, by introducing a breakable space in the right
location.

Additionally, we extract the code that was 99 percent identical from the face
and action synopsis generators, push it down into the documentation module,
and then invoke it from both places.

This eliminates the duplicate code, allowing me to fix that bug once and have
it apply to both parts of the code; this is pretty much assured to be true
any time we change the synopsis generation.

Reviewed-By: Nick Fagerlund <nick.fagerlund@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb4e9791df5c0: maint: handle incoherent Test::Unit assertions.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU0ae4732fd905: (#7828) Fix whitespace in synopsis generator. (authored by Daniel Pittman <daniel@puppetlabs.com>).Jun 8 2011, 1:52 AM