Skip to content

"show" could act more like "cat" and less like "eval" #495

harrah opened this Issue Jan 5, 2013 · 1 comment

1 participant

harrah commented Jan 5, 2013
> > 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.
harrah commented Jan 5, 2013

IMPORTANT This project has moved to 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.

@harrah harrah closed this Jan 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.