diff options
author | Li Xiaoming <lixm.fnst@cn.fujitsu.com> | 2019-08-19 17:59:20 +0800 |
---|---|---|
committer | Li Xiaoming <lixm.fnst@cn.fujitsu.com> | 2019-08-19 14:57:20 +0000 |
commit | ac2ab695354486c5ea248593e3f7ca6850f11a5b (patch) | |
tree | a699c3dacfed7867a57c4cd406a782162b69275c | |
parent | 6f13ad1989875b5a0ce50b24211fd1fba093735f (diff) |
Replace obsolete argument "sessiondir" with "workdir"
afb-daemon can not recognize arg "sessiondir" now, it will report
"Error: Bad option detected".Use "workdir" instead.
Bug-AGL: SPEC-2714
Change-Id: I0a194efa7a37ce3e6624c44e48d3e98dcfdda4c2
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -131,20 +131,20 @@ The configuration options are: ``` $ ${AFB_DAEMON_DIR}/build/src/afb-daemon --help -$ ${AFB_DAEMON_DIR}/build/src/afb-daemon --port=1234 --token='' --ldpaths=${AFB_DAEMON_DIR}/build --sessiondir=/tmp --rootdir=${AFB_DAEMON_DIR}/test +$ ${AFB_DAEMON_DIR}/build/src/afb-daemon --port=1234 --token='' --ldpaths=${AFB_DAEMON_DIR}/build --workdir=/tmp --rootdir=${AFB_DAEMON_DIR}/test ``` ### Starting ``` $ afb-daemon --help -$ afb-daemon --verbose --port=<port> --token='' --sessiondir=<working directory> --rootdir=<web directory (index.html)> +$ afb-daemon --verbose --port=<port> --token='' --workdir=<working directory> --rootdir=<web directory (index.html)> ``` ### Example ``` -$ afb-daemon --verbose --port=1234 --token='' --sessiondir=/tmp --rootdir=/srv/www/htdocs --alias=icons:/usr/share/icons +$ afb-daemon --verbose --port=1234 --token='' --workdir=/tmp --rootdir=/srv/www/htdocs --alias=icons:/usr/share/icons ``` ### Directories & Paths |