flag should be '-g' or '--gateway'

Signed-off-by: cc <herochinese.cc@gmail.com>
This commit is contained in:
HeroC 2018-02-22 01:04:49 +13:00 committed by Alex Ellis
parent f17fa618cb
commit c118e691f8

View File

@ -134,7 +134,7 @@ $ faas-cli list -f samples.yml
or
$ faas-cli list --g http://127.0.0.1:31112
$ faas-cli list -g http://127.0.0.1:31112
Function Invocations Replicas
inception 0 1
nodejs-echo 0 1
@ -146,7 +146,7 @@ stronghash 2 1
Invoke a function:
```
$ echo -n "Test" | faas-cli invoke stronghash --g http://127.0.0.1:31112
$ echo -n "Test" | faas-cli invoke stronghash -g http://127.0.0.1:31112
c6ee9e33cf5c6715a1d148fd73f7318884b41adcb916021e2bc0e800a5c5dd97f5142178f6ae88c8fdd98e1afb0ce4c8d2c54b5f37b30b7da1997bb33b0b8a31 -
```