New submission from Kirsten Chevalier <[EMAIL PROTECTED]>:

I was trying to use "darcs record" with the -l option to look for new files, and
forgetting that -m requires an argument.
{{{
$ darcs record -ml
No changes!
$ darcs record -m -l
No changes!
$ darcs record -m

darcs failed:  option `-m' requires an argument PATCHNAME
}}}
In the last case, the error message is correct. I find this confusing because in
the first two cases, darcs prints out "No changes!" when there are changes. The
problem is, it seems, that -m is combined with another option but the argument
for -m is omitted, which results in "darcs record -ml" being operationally the
same as "darcs record -m". I think that all three command lines above should
print out the same error message.


My version info:

$ darcs --exact-version
darcs compiled on Jul  4 2006, at 20:08:54
# configured Fri Jun 16 14:55:21 EDT 2006
./configure --no-create --no-recursion

Context:

[TAG 1.0.8
Tommy Pettersson <[EMAIL PROTECTED]>**20060616160213]

----------
messages: 1427
nosy: EricKow, beschmi, droundy, kirsten, tommy
priority: bug
status: unread
title: darcs should warn for -m with no argument

____________________________________
Darcs issue tracker <[EMAIL PROTECTED]>
<http://bugs.darcs.net/issue395>
____________________________________

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to