> > In 'source-directory source-directories', 'source-directories' is
> > interpreted as an argument to 'source-directory'. (Of course, it doesn't
> > accept arguments, so it should fail.)
> On the command line, it is conventional and I'd say pretty useful that if a
> command only acts on a single argument, then it will accept multiple
> arguments and act on each of them in sequence. I like not typing "; cat
> foo ; cat bar" to cat my foos and bars.
I agree it is useful. The reason it isn't already like that is
that 'show' is basically the same as running a normal task, both in
syntax and semantics. Some tasks take command line arguments and so you
either have to allow only one task/setting as an argument and get 'show'
essentially for free or work harder and allow multiple tasks/settings as
long as none take arguments themselves. Obviously I took free, but open
a ticket and I'll see about improving it.
IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#495 for the full issue and to comment.