Closed leighmcculloch closed 5 years ago
@nishanths: I'm happy to work on a change to change the behavior to what I expected above, if you're 👍.
yes, thank you! much appreciated.
Turns out this is the expected behavior with the Go flag library, so is behaving as expected.
Summary
Position of the arguments can cause app to ignore arguments. If the arguments
-o LICENSE
are placed after the license name then they are ignored.What I expected to happen
I expected the following command when executed would output the license into the file
LICENSE
.What happened
The license was outputted to stdout and the
LICENSE
file was not written.