Prevent the output of illogical warnings #10
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have been using the script a lot, thus thank you @nicolaschan.
This pull request fixes warnings in cases where they did not make much sense:
WARNING: Minecraft screen name not specified (use -s)Even when
ENABLE_CHAT_MESSAGESis false - you don't want to tell players in Minecraft chat about backup status, thus it makes sense to not provide a screen name.WARNING: MAX_BACKUPS (-1) is smaller than TOTAL_BLOCK_SIZE (70)If the
MAX_BACKUPSis set to infinite (-1) it should not output this.What about
SUPPRESS_WARNINGS?This functionality is kept working as expected - and it remains unchanged.