summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/boot.c4
-rw-r--r--commands/miitool.c6
-rw-r--r--commands/nand-bitflip.c1
3 files changed, 1 insertions, 10 deletions
diff --git a/commands/boot.c b/commands/boot.c
index 5d81d79..0257b3d 100644
--- a/commands/boot.c
+++ b/commands/boot.c
@@ -29,10 +29,6 @@ static int do_boot(int argc, char *argv[])
struct bootentries *entries;
struct bootentry *entry;
- verbose = 0;
- dryrun = 0;
- timeout = -1;
-
while ((opt = getopt(argc, argv, "vldmt:w:")) > 0) {
switch (opt) {
case 'v':
diff --git a/commands/miitool.c b/commands/miitool.c
index acf6142..4ea6fda 100644
--- a/commands/miitool.c
+++ b/commands/miitool.c
@@ -281,12 +281,6 @@ static int do_miitool(int argc, char *argv[])
while ((opt = getopt(argc, argv, "vs:r:")) > 0) {
switch (opt) {
- case 'a':
- addr = simple_strtol(optarg, NULL, 0);
- break;
- case 'b':
- bus = simple_strtoul(optarg, NULL, 0);
- break;
case 's':
action = MIITOOL_SHOW;
phydevname = xstrdup(optarg);
diff --git a/commands/nand-bitflip.c b/commands/nand-bitflip.c
index a8a97c1..cfde2f4 100644
--- a/commands/nand-bitflip.c
+++ b/commands/nand-bitflip.c
@@ -107,6 +107,7 @@ BAREBOX_CMD_HELP_START(nand_bitflip)
BAREBOX_CMD_HELP_TEXT("This command creates bitflips on Nand pages.")
BAREBOX_CMD_HELP_TEXT("Options:")
BAREBOX_CMD_HELP_OPT ("-b <block>", "block to work on")
+BAREBOX_CMD_HELP_OPT ("-c\t", "Check only for bitflips")
BAREBOX_CMD_HELP_OPT ("-o <offset>", "offset in Nand")
BAREBOX_CMD_HELP_OPT ("-r\t", "flip random bits")
BAREBOX_CMD_HELP_OPT ("-n <numbitflips>", "Specify maximum number of bitflips to generate")