Skip to content

Commit 3c6f074

Browse files
mbolivar-nordicnashif
authored andcommitted
scripts: fix pyocd runner --flash-opt help
This doesn't work. Fix the example. Signed-off-by: Marti Bolivar <[email protected]>
1 parent 5bbae10 commit 3c6f074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/west_commands/runners/pyocd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def do_add_parser(cls, parser):
7171
help='path to pyocd tool, default is pyocd')
7272
parser.add_argument('--flash-opt', default=[], action='append',
7373
help='''Additional options for pyocd flash,
74-
e.g. \'-e chip\' to chip erase''')
74+
e.g. --flash-opt="-e=chip" to chip erase''')
7575
parser.add_argument('--frequency',
7676
help='SWD clock frequency in Hz')
7777
parser.add_argument('--gdb-port', default=DEFAULT_PYOCD_GDB_PORT,

0 commit comments

Comments
 (0)