From 96798b2ce44dd03d5b8c10662d2bfab101a9d378 Mon Sep 17 00:00:00 2001 From: Leo C Date: Fri, 10 Jun 2016 16:27:43 +0200 Subject: [PATCH] Update attach help text --- avr/command_tbl.c | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/avr/command_tbl.c b/avr/command_tbl.c index 7ebc008..57dde41 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -375,12 +375,25 @@ CMD_TBL_ITEM( CMD_TBL_ITEM( attach, CONFIG_SYS_MAXARGS, 1, do_attach, "attach filesystem image file to CP/M drive", - "[options] [dsk ]\n" - " - attach drive number to diskfile \n" - "attach -d dsk\n" - " - detach drive\n" + "[-rw] [-o options] dsk diskfile\n" + " Attach diskfile to dsk, where n in 0..7\n" + " -r File is read only (write protected)\n" + " -w File is read/write (default)\n" + " -o options\n" + " Options is a comma-separated list of\n" + " ro, rw, debug, nodebug\n" + "\n" + "attach [-rw] -o reattach[,other options] dsk\n" + " Change options for dsk.\n" + " Options as above.\n" + "\n" + "attach -d -a|dsk\n" + "detach -a|dsk\n" + " Detach diskfile from dsk.\n" + " -a Detach all.\n" + "\n" "attach\n" - " - without arguments, list current assignments" + " Without arguments, list current assignments\n" ), CMD_TBL_ITEM( detach, 2, 1, do_attach, -- 2.39.2