jessevdk/go-flags — pull request #96 by zimmski (2014-09-11 20:19:58+00:00)
Title: do quoting in INI and Help

I am sorry that this is such a big single commit, but I think all parts are essential even the INI error handling.

I have done the following:
- "ini" is now a struct with sections and the filename
- "iniValue" has a line number so we can use it later for sane errors
- quote output of String values for Help
- quote output of String values for INI write (this is the reason why so much test data has changed)
- allow quoting for every value (even map values) for INI read

The whole thing started out as a little fix for #88 but i noticed that there is no handling of \n for INI files.