Fix formatting for fix docs

This commit is contained in:
Chris Bednarski 2016-03-11 17:29:04 -08:00
parent 1256babce3
commit 4588c34efb
1 changed files with 2 additions and 2 deletions

View File

@ -19,13 +19,13 @@ The fix command will output the changed template to standard out, so you should
redirect standard using standard OS-specific techniques if you want to save it redirect standard using standard OS-specific techniques if you want to save it
to a file. For example, on Linux systems, you may want to do this: to a file. For example, on Linux systems, you may want to do this:
\$ packer fix old.json > new.json $ packer fix old.json > new.json
If fixing fails for any reason, the fix command will exit with a non-zero exit If fixing fails for any reason, the fix command will exit with a non-zero exit
status. Error messages appear on standard error, so if you're redirecting status. Error messages appear on standard error, so if you're redirecting
output, you'll still see error messages. output, you'll still see error messages.
-> **Even when Packer fix doesn't do anything** to the template, the template -> **Even when Packer fix doesn't do anything** to the template, the template
will be outputted to standard out. Things such as configuration key ordering and will be outputted to standard out. Things such as configuration key ordering and
indentation may be changed. The output format however, is pretty-printed for indentation may be changed. The output format however, is pretty-printed for
human readability. human readability.