From 80ca927ebc2bb1ca18aff70215222d55c1f196f8 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 30 Mar 2019 08:36:38 +0100 Subject: [PATCH] flash/nor/at91samd: set usage for command "set-security" The only allowed parameter is the string "enable" Change-Id: Iefdad38f1b4177e4194e58caf2be654357299ded Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/5021 Tested-by: jenkins Reviewed-by: Tomas Vanek --- src/flash/nor/at91samd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c index ad0da5d7e0..a0d603a2c8 100644 --- a/src/flash/nor/at91samd.c +++ b/src/flash/nor/at91samd.c @@ -1241,6 +1241,7 @@ static const struct command_registration at91samd_exec_command_handlers[] = { "This makes it impossible to read the Flash contents. " "The only way to undo this is to issue the chip-erase " "command.", + .usage = "'enable'", }, { .name = "eeprom", -- 2.30.2