[7551] in Athena Bugs
rt 7.2R: doswrite/dir
daemon@ATHENA.MIT.EDU (qjb@ATHENA.MIT.EDU)
Sun May 12 21:35:57 1991
From: qjb@ATHENA.MIT.EDU
Date: Sun, 12 May 91 21:35:47 -0400
To: bugs@ATHENA.MIT.EDU
System name: soup
Type and version: RTPC-ROMPC 7.2R
Display type: apa16
What were you trying to do?
Look at the directory of a dos disk with the dosdir
command.
What's wrong:
I accidentally typed dosdir -i instead of dosdir -v.
Even though -i does not make sense for dosdir, since the
programs are all linked together, this command erased
the disk.
What should have happened:
I know that the dos* programs are all the same program
and that all invoking the program with a given name does
is essentially set a flag. It seems, though, that it
would be a lot better if the program would actually pay
a little more attention to this kind of thing. It
wouldn't have been to hard for it to say, "Gee. This
luser ran me as dosdir or specified the equivalent flag
and then used the -i flag. I ought to tell him he's
messed up and print a usage message."
Please describe any relevant documentation references:
dosread(1)