8000 Documentation on boolean flags is wrong #10517 by SvenDowideit · Pull Request #10546 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Documentation on boolean flags is wrong #10517 #10546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2015

Conversation

SvenDowideit
Copy link
Contributor

Signed-off-by: Sven Dowideit SvenDowideit@home.org.au

closes ##10517

@SvenDowideit
Copy link
Contributor Author

@fredlf @jamtur01

For example, if you do call `docker run -d`, that sets the value to `true`, so
your container **will** run in "detached" mode, in the background.

Options which a defaulted to `true` (i.e., `docker build --rm=true`) can only
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps Options which default to... ?

@SvenDowideit SvenDowideit force-pushed the update-boolean-flags-help branch from 413d0e7 to 3aa625e Compare February 4, 2015 03:49
@jamtur01
Copy link
Contributor
jamtur01 commented Feb 4, 2015

LGTM

@duglin
Copy link
Contributor
duglin commented Feb 4, 2015

LGTM thanks for the fix

so `docker run -d` **will** run in "detached" mode,
in the background. Other boolean options are similar – specifying them
will set the value to the opposite of the default value.
Boolean options look like `-d=false`. The value you see in the help text, is the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Omit comma after "text".

Maybe change "look like" to "take the form".

@fredlf
Copy link
Contributor
fredlf commented Feb 4, 2015

A couple small copy edits. Otherwise, LGTM

@SvenDowideit SvenDowideit added this to the 1.5.0 milestone Feb 5, 2015
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
@SvenDowideit SvenDowideit force-pushed the update-boolean-flags-help branch from 3aa625e to 1e6e683 Compare February 6, 2015 09:52
jessfraz pushed a commit that referenced this pull request Feb 6, 2015
@jessfraz jessfraz merged commit e706be7 into moby:master Feb 6, 2015
@SvenDowideit SvenDowideit deleted the update-boolean-flags-help branch April 26, 2015 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0