]> cloudbase.mooo.com Git - z180-stamp.git/commitdiff
Update attach help text
authorLeo C <erbl259-lmu@yahoo.de>
Fri, 10 Jun 2016 14:27:43 +0000 (16:27 +0200)
committerLeo C <erbl259-lmu@yahoo.de>
Fri, 10 Jun 2016 14:27:43 +0000 (16:27 +0200)
avr/command_tbl.c

index 7ebc008f804cadc27f31834f4bba90a8bdf15ebf..57dde415ac14ac3febf587ff9d132f8cd882b690 100644 (file)
@@ -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,