tools/mesh-cfgclient: fix binaries and config name in README

This patch fixes the mesh-cfgclient README file:
- The configuration directory is meshcfg not mesh-cfgcli
- The home directory is looked up using $HOME not using /home/$USER
- The binary is called mesh-cfgclient, not mesh-config
- The -c option takes a config file path, not the directory where the
  config file is stored.
This commit is contained in:
Aurelien Jarno 2019-11-07 13:16:40 +01:00 committed by Brian Gix
parent 4f4ac13ef6
commit 220ab7b894

View File

@ -25,11 +25,11 @@ that contains information about the current state of the configured mesh
network. network.
The default directory for mesh-cfgclient configuration file is The default directory for mesh-cfgclient configuration file is
/home/<username>/.config/mesh-cfgcli $HOME/.config/meshcfg
To specify a custom storage directory, run mesh-config tool as: To specify a custom file, run mesh-cfgclient tool as:
meshctl -c <config_dir_name> mesh-cfgclient -c <config_file_name>
If a configuration file is not found, it is assumed that a mesh network If a configuration file is not found, it is assumed that a mesh network
does not exist. In this case, the tool may be used to generate a new mesh does not exist. In this case, the tool may be used to generate a new mesh