Remove '--name' in faas-cli invoke

Doc can not execute. '--name' is removed.
see:e097301414 (diff-6e522d40e6848a6eeeb12b0ab50cb97d)

Signed-off-by: eiji.ienaga <eiji.ienaga@gmail.com>
This commit is contained in:
eiji.ienaga 2017-10-09 08:26:32 +09:00 committed by Alex Ellis
parent 7f2a35cd21
commit b32a3f30ea
2 changed files with 4 additions and 4 deletions

View File

@ -18,8 +18,8 @@ $ curl -d "# test" localhost:8080/function/markdown | \
You could also do this via code, or through the `faas-cli`:
```
$ echo "test" | faas-cli invoke --name markdown | \
faas-cli invoke --name slack
$ echo "test" | faas-cli invoke markdown | \
faas-cli invoke slack
```
## Server-side access via gateway

View File

@ -89,8 +89,8 @@ Your function will appear after a few seconds and you can click "Invoke"
You can also use the CLI like this:
```
$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 nodeinfo
$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 nodeinfo
```
## Asynchronous functions