updated docs
This commit is contained in:
19
doc/dev.md
19
doc/dev.md
@@ -566,7 +566,7 @@ associated to the corresponding parameter:
|
||||
| Parameter | Variable | Type | Descrition |
|
||||
|:--------------|:-------------------|:--------|:------------------------------|
|
||||
| --help | *none* | *n/a* | Trigger help display directly and exit |
|
||||
| --version | *none* | *n/a* | Trigger help display directly and exit |
|
||||
| --version | *none* | *n/a* | Trigger version display directly and exit |
|
||||
| --module | MANUAL_MODULE_LIST | string | The following parameter will set a list of module to use |
|
||||
| --check-only | CHECK_ONLY | boolean | Activate check only mode |
|
||||
| --jump | JUMP | boolean | Activate no checks mode |
|
||||
@@ -612,8 +612,25 @@ of the time a basic package manager configuration will be required to make it
|
||||
work.
|
||||
|
||||
#### 10.1.4. ```load_configuration```
|
||||
That function loads configuration files. It will first check for configuration
|
||||
given as command line parameter. If no such parameter exists, it will try to
|
||||
load a file named ```conf/${HOSTNAME}.conf.sh```. If that file don't exists, the
|
||||
generic configuration will be loaded in the file ```conf/init.conf.sh```.
|
||||
|
||||
If no configuration file can be found the function will trigger an error and
|
||||
exit the script.
|
||||
|
||||
#### 10.1.5. ```process_commandline_and_vars```
|
||||
That function have the role to check the concistancy of command line parameters.
|
||||
It will triger errors if incompatible parameters have been given or if those
|
||||
parameters might lead to a non predictable situation.
|
||||
|
||||
When those checks are done, the definitive module list to load is created. With
|
||||
that list we then checks the modules are available and do not contain the dash
|
||||
character.
|
||||
|
||||
That function will also triger an error if the definitive module list is empty.
|
||||
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user