summaryrefslogtreecommitdiff
path: root/tools/env/fw_env.c
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-02-11 17:16:46 +0000
committerTom Rini <trini@konsulko.com>2018-02-14 12:14:15 -0500
commitd877a6c50e886af089bf8fb947e566982672fd0a (patch)
treeeece0d31019901fa9e2394701b39a9267d0ee4ec /tools/env/fw_env.c
parentbeffc170f204277451d4b9df791c1e2b8c49e8a9 (diff)
Fix --noheader on fw_printenv
The single argument `--noheader' is expecting isn't taken from getopt parsing, but instead from the remaining argv arguments. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Diffstat (limited to 'tools/env/fw_env.c')
-rw-r--r--tools/env/fw_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index ca5507d4d7..6b71acb28f 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -452,7 +452,7 @@ int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts)
if (value_only && argc != 1) {
fprintf(stderr,
- "## Error: `-n' option requires exactly one argument\n");
+ "## Error: `-n'/`--noheader' option requires exactly one argument\n");
return -1;
}