mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
fdtput: Fix documentation about existing nodes
The documentation claims that `-c` would "Create nodes if they don't already exist". This is true, but suggests that trying to create a node that already exists is not an error. fdtput however errors out in that case. Similar `fdtput -d` errors out when called for a non-existing node. Drop the "if they [don't] already exist" to make that clearer. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
53c63dd421
commit
7da5d106c7
1 changed files with 2 additions and 2 deletions
4
fdtput.c
4
fdtput.c
|
@ -389,8 +389,8 @@ static struct option const usage_long_opts[] = {
|
||||||
USAGE_COMMON_LONG_OPTS,
|
USAGE_COMMON_LONG_OPTS,
|
||||||
};
|
};
|
||||||
static const char * const usage_opts_help[] = {
|
static const char * const usage_opts_help[] = {
|
||||||
"Create nodes if they don't already exist",
|
"Create nodes",
|
||||||
"Delete nodes (and any subnodes) if they already exist",
|
"Delete nodes (and any subnodes)",
|
||||||
"Delete properties if they already exist",
|
"Delete properties if they already exist",
|
||||||
"Automatically create nodes as needed for the node path",
|
"Automatically create nodes as needed for the node path",
|
||||||
"Type of data",
|
"Type of data",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue