summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo C2016-06-10 16:27:43 +0200
committerLeo C2016-06-10 16:27:43 +0200
commit96798b2ce44dd03d5b8c10662d2bfab101a9d378 (patch)
tree9e547c64f74e21852aa910805a65c5bb9b752b9e
parent78c900276102731b2832eb623b6d7216a32bd500 (diff)
downloadz180-stamp-96798b2ce44dd03d5b8c10662d2bfab101a9d378.zip
Update attach help text
-rw-r--r--avr/command_tbl.c23
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,