Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

powrap exits status 1 when done what is expected #19

Closed
rffontenelle opened this issue Jan 29, 2020 · 1 comment
Closed

powrap exits status 1 when done what is expected #19

rffontenelle opened this issue Jan 29, 2020 · 1 comment

Comments

@rffontenelle
Copy link

powrap returns exit status 1 when at least one file was modified. When running in a Makefile this can problematic because it may end with error status and without any clue. It is possible to work around it with powrap *.po **/*.po || true, but then real problems will not be spotted.

NOTE: This is documented in --help for the --check flag, but not documented for normal run (e.g. powrap *.po **/*.po).

Please consider adding a flag that disable this (or disable by default and add flag that enable this).

@JulienPalard
Copy link
Collaborator

Now that we have --check it was nonsensical to return -1 when the program did something. I dropped this "feature".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants