Joseph Musser

Results 395 comments of Joseph Musser

@JasonBock These seem like useful issues and they have crossreferenced activity. Would it bother you if we kept them open longer?

Actually, I think I'm wrong about `-t=foo` ever working in build.sh. It's just `-t foo` and `--target foo` that we're concerned with. Updated.

PR with just the fix: https://github.com/cake-build/resources/pull/34

> For consistency with other programs, a shell script should never IMO accept a single hyphen for a multi-character option. This doesn't create inconsistency between operating systems, it merely acknowledges...

> Typically, whether you can use =, : or space between an option and its value is a feature of the particular OS command-line in use, not of the program,...

I'm just saying, there is no .exe that _doesn't_ parse its own command line. It's standard for every .exe (Windows at least) to parse using the C++ argv convention. ([spec](https://msdn.microsoft.com/en-us/library/17w5ykft.aspx))...

Gotcha. Cake is C#, but every runtime library follows C's argv convention regardless of language and (I think) OS. [`CommandLineToArgvW`](https://msdn.microsoft.com/en-us/library/windows/desktop/bb776391.aspx) in Windows, which the CLR uses when it calls your...

I have a PR up at https://github.com/chocolatey/choco/pull/1663.

I would really like to be able to handle exceptions myself without 1) repeating the handling in the root of each invoked command or 2) writing more than one line...

This is what I'm doing to minimize repetition. I still have to repeat the `.WithExceptionHandler(ExceptionHandler)` call once per subcommand, but it's better than hardcoding what the CommandLineBuilder defaults were at...