]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - tools/env/fw_env_main.c
Fix --noheader on fw_printenv
[people/ms/u-boot.git] / tools / env / fw_env_main.c
index 6fdf41c8760422b27fd381b4ba56473f5a6fce4e..d93a915fd142827e2259cd78b260565e4c4e76e6 100644 (file)
@@ -46,7 +46,7 @@ static struct option long_options[] = {
        {"config", required_argument, NULL, 'c'},
        {"help", no_argument, NULL, 'h'},
        {"script", required_argument, NULL, 's'},
-       {"noheader", required_argument, NULL, 'n'},
+       {"noheader", no_argument, NULL, 'n'},
        {"lock", required_argument, NULL, 'l'},
        {"version", no_argument, NULL, 'v'},
        {NULL, 0, NULL, 0}