[nimpretty] fix #10211; fix #10199 (#10212)

* [nimpretty] fix #10211; fix #10199
* address comments
* un-document --backup and set its default to false
This commit is contained in:
Timothee Cour 2019-01-08 01:38:34 -08:00 • committed by Andreas Rumpf
commit 821920aa39
2 changed files with 18 additions and 8 deletions

View file

@ -156,6 +156,8 @@ proc enumToString*(enums: openArray[enum]): string =
- `jsondoc` now include a `moduleDescription` field with the module
description. `jsondoc0` shows comments as it's own objects as shown in the
documentation.
- `nimpretty`: --backup now defaults to `off` instead of `on` and the flag was
un-documented; use `git` instead of relying on backup files.
### Compiler changes
- The deprecated `fmod` proc is now unavailable on the VM'.