On Tue, 21 Jan 2014 12:17:52 GMT, Sönke Ludwig wrote:

On Tue, 21 Jan 2014 11:21:24 +0100, Sönke Ludwig wrote:

Am 21.01.2014 10:36, schrieb Jacob Carlborg:

Running "dub --foo" results in this error:

Error executing command run: Failed to find a package named '--foo'.

I'm wondering if it would be better if Dub assume anything that starts
with a one dash or two dashes is a flag. In this case it's an invalid
flag and Dub would give a descriptive error message for this.

That's what I'm thinking is the best solution, too.

Implemented by d5fdb2a.