[darcs-devel] [issue1579] --diff-opts can't contain multiple options
Trent W. Buck
bugs at darcs.net
Fri Aug 28 02:40:07 UTC 2009
Trent W. Buck <trentbuck at gmail.com> added the comment:
On Fri, Aug 28, 2009 at 02:18:01AM +0000, Trent W. Buck wrote:
> $ darcs diff --from-tag . --diff-opts '-wpurNd -U 999' tests/check.sh >/dev/null
> diff: invalid option -- ' '
> diff: Try `diff --help' for more information.
Workaround is to realize that getopt allows the last short option to
take an argument, without any whitespace:
Looks bloody confusing, but it works.
Darcs bug tracker <bugs at darcs.net>
More information about the darcs-devel