Skip to content
Snippets Groups Projects
Commit c5984c76 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

add init tree subcommand documentation

parent 0bf5280f
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -407,6 +407,30 @@ Displays contents of the `treefoo` resolve file.
```
66 tree resolve treefoo
```
### Init
#### Interface
This command initiate services of a tree to a scandir directory
```
66 tree init [ -h ] tree
```
The behavior of this subcommand will depends of the state of the [scandir](scandir.html). If the scandir is not running, this command will initiate earlier services of *tree*, in other case its initiate all *enabled* services within *tree*.
This subcommand is primarily used internally by `66 boot` command to initiate earlier services of *tree*. Initiation of services is made automatically at each invocation of `66 start` or `66 tree start` command is services was not initiate previously.
#### Options
- **-h**: prints this help.
#### Usage examples
Initiates all *enabled* services of `treefoo` to a running scandir
```
66 tree init treefoo
```
### Start
......
......@@ -422,7 +422,7 @@ char const *help_tree_status =
char const *usage_tree_init = "66 tree init [ -h ] tree" ;
char const *help_tree_init =
"\ninitiate all services present in tree to a scandir already running\n"
"\ninitiate all enabled services associated to a tree to a scandir directory\n"
"\n"
"options:\n"
" -h: print this help\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment