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>
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index ca5507d..6b71acb 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -452,7 +452,7 @@
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;
}