Adds note about passing boolean arguments (#3268)

Adds a sentence and example on how to use boolean arguments.
This commit is contained in:
Jason McCallister 2017-05-19 18:28:09 -04:00 committed by Misty Stanley-Jones
parent 4184049fbe
commit e3a017a187
1 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,11 @@ Control Panel and pass that to `docker-machine create` with the `--digitalocean-
## Usage
$ docker-machine create --driver digitalocean --digitalocean-access-token=aa9399a2175a93b17b1c86c807e08d3fc4b79876545432a629602f61cf6ccd6b test-this
When passing a boolean value to any option, the argument requires a slightly different format.
$ docker-machine create --driver digitalocean --digitalocean-access-token=aa9399a2175a93b17b1c86c807e08d3fc4b79876545432a629602f61cf6ccd6b --digitalocean-size 1gb --digitalocean-backups=true test-this
## Options
@ -43,4 +48,4 @@ The DigitalOcean driver will use `ubuntu-16-04-x64` as the default image.
| `--digitalocean-userdata` | `DIGITALOCEAN_USERDATA` | - |
| `--digitalocean-ssh-user` | `DIGITALOCEAN_SSH_USER` | `root` |
| `--digitalocean-ssh-port` | `DIGITALOCEAN_SSH_PORT` | 22 |
| `--digitalocean-ssh-key-fingerprint`| `DIGITALOCEAN_SSH_KEY_FINGERPRINT`| - |
| `--digitalocean-ssh-key-fingerprint`| `DIGITALOCEAN_SSH_KEY_FINGERPRINT`| - |