aboutsummaryrefslogtreecommitdiffstats
path: root/docs/afb-binding-writing.md
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-08-23 16:57:42 +0800
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-08-23 16:57:42 +0800
commit87446697d54dd1eebe2f4b5528520af7a0e8f027 (patch)
tree74bc09d5c481dbbcf38137eb0707a8f049fb495d /docs/afb-binding-writing.md
parent6599a89df853f4a128906f26142d5b861de90656 (diff)
Fix binding example path & update afb-daemon options
Bug-AGL: SPEC-2714 Change-Id: I78aee6b3d96728a7eb394ddd94000c516fbc63ba Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'docs/afb-binding-writing.md')
-rw-r--r--docs/afb-binding-writing.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/afb-binding-writing.md b/docs/afb-binding-writing.md
index e1401d8e..3e4abe32 100644
--- a/docs/afb-binding-writing.md
+++ b/docs/afb-binding-writing.md
@@ -105,7 +105,7 @@ gcc -fPIC -shared tuto-1.c -o tuto-1.so $(pkg-config --cflags-only-I afb-daemon)
Running:
```bash
-afb-daemon --binding tuto-1.so --port 3333 --token ''
+afb-daemon --binding ./tuto-1.so --port 3333 --token ''
```
At this point, afb-daemon has started, it loaded the binding tuto-1.so and now
@@ -356,7 +356,7 @@ gcc -fPIC -shared tuto-2.c -o tuto-2.so $(pkg-config --cflags --libs afb-daemon)
Running:
```bash
-afb-daemon --binding tuto-2.so --port 3333 --token ''
+afb-daemon --binding ./tuto-2.so --port 3333 --token ''
```
Testing:
@@ -401,7 +401,7 @@ ON-REPLY 4:tuto-2/action: OK
}
```
-In an other terminal:
+In another terminal:
```bash
$ afb-client-demo -H localhost:3333/api?token=toto