Skip to content

Commit

Permalink
docs: auto generate pouch cli docs via code
Browse files Browse the repository at this point in the history
Signed-off-by: pouchrobot <pouch-dev@list.alibaba-inc.com>
  • Loading branch information
pouchrobot authored and fuweid committed Feb 15, 2019
1 parent 5e410b5 commit df58349
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/commandline/pouch_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ e1d541722d68dc5d133cca9e7bd8fd9338603e1763096c8e853522b60d11f7b9
### Options

```
--annotation strings Additional annotation for runtime
--annotation stringArray Additional annotation for runtime
--blkio-weight uint16 Block IO (relative weight), between 10 and 1000, or 0 to disable
--blkio-weight-device strings Block IO weight (relative device weight), need CFQ IO Scheduler enable (default [])
--cap-add strings Add Linux capabilities
Expand Down
2 changes: 1 addition & 1 deletion docs/commandline/pouch_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ crw-rw-rw- 1 root root 1, 3 Jan 8 09:40 /dev/testnull
### Options

```
--annotation strings Additional annotation for runtime
--annotation stringArray Additional annotation for runtime
-a, --attach Attach container's STDOUT and STDERR
--blkio-weight uint16 Block IO (relative weight), between 10 and 1000, or 0 to disable
--blkio-weight-device strings Block IO weight (relative device weight), need CFQ IO Scheduler enable (default [])
Expand Down
2 changes: 2 additions & 0 deletions docs/commandline/pouch_updatedaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ $ pouch updatedaemon --debug=true
--exec-root-dir string update exec root directory for network
--fixed-cidr string update daemon bridge fixed CIDR
-h, --help help for updatedaemon
--home-dir string update daemon home dir
--image-proxy string update daemon image proxy
--ipforward udpate daemon with ipforward (default true)
--iptables update daemon with iptables (default true)
--label strings update daemon labels
--manager-white-list string update daemon manager white list
--offline just update daemon config file
--snapshotter string update daemon snapshotter
--userland-proxy update daemon with userland proxy
```

Expand Down

0 comments on commit df58349

Please sign in to comment.