1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix help test comment to align with the code

I disagree with #14546 that pushed the help text past 80 chars.
Aside from it now making the help text look ugly on 80 char displays,
which I use, one thing I like about the previous limitation is that it
forced us to keep our options down to more reasonable phrases/words.
For example, I think
`    --disable-content-trust=true`
could have been:
`    --disable-trust=true`
or even:
`    --disable-ctrust=true`

But regardless, let's at least make the comments match what the code does.

Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
Doug Davis 2015-10-07 05:09:46 -07:00
parent 0137e3eda2
commit 73a6ac00ce

View file

@ -76,7 +76,7 @@ func (s *DockerSuite) TestHelpTextVerify(c *check.C) {
} }
} }
// Make sure each cmd's help text fits within 80 chars and that // Make sure each cmd's help text fits within 90 chars and that
// on non-windows system we use ~ when possible (to shorten things). // on non-windows system we use ~ when possible (to shorten things).
// Pull the list of commands from the "Commands:" section of docker help // Pull the list of commands from the "Commands:" section of docker help
helpCmd = exec.Command(dockerBinary, "help") helpCmd = exec.Command(dockerBinary, "help")