aboutsummaryrefslogtreecommitdiff
path: root/cli_args_test.go
AgeCommit message (Collapse)Author
2018-06-05main: make prefixOArgs errors testableJakob Unterwurzacher
By returning an error instead of calling os.Exit, error cases can be tested easily. Error cases were not tested until now.
2017-04-29main: "--" should also block "-o" parsingJakob Unterwurzacher
Includes test cases.
2016-10-24Run cli_args_test.go through "gofmt -s"Jakob Unterwurzacher
2016-10-10main: accept "-o" at the front AND at the endJakob Unterwurzacher
Moving "-o" to the end broke a third-party app, SiriKali. Breaking your users is bad, so let's accept "-o" anywhere.
2016-10-09main: add tests for the "-o" parsingJakob Unterwurzacher