aboutsummaryrefslogtreecommitdiff
path: root/cli_args_test.go
AgeCommit message (Collapse)Author
2021-08-10main: take advantage of pflag slice typesJakob Unterwurzacher
Our multipleStrings type is now built in.
2021-08-10main: push TestPrefixOArgs testcase struct into TestPrefixOArgsJakob Unterwurzacher
No need to have it declared globally.
2018-08-11cli: add multipleStrings typeJakob Unterwurzacher
Will be used for --exclude.
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