From: Antonio Borneo Date: Sat, 30 Mar 2019 07:36:38 +0000 (+0100) Subject: flash/nor/at91samd: set usage for command "set-security" X-Git-Tag: v0.11.0-rc1~752 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=80ca927ebc2bb1ca18aff70215222d55c1f196f8 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 --- 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",