diff options
-rw-r--r-- | avr/command_tbl.c | 23 |
1 files 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> <d:/path/filename>]\n" - " - attach drive number <n> to diskfile <d:/path/filename>\n" - "attach -d dsk<n>\n" - " - detach drive\n" + "[-rw] [-o options] dsk<n> diskfile\n" + " Attach diskfile to dsk<n>, 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>\n" + " Change options for dsk<n>.\n" + " Options as above.\n" + "\n" + "attach -d -a|dsk<n>\n" + "detach -a|dsk<n>\n" + " Detach diskfile from dsk<n>.\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, |