Remove date echo from schema example, as it's not a substitute for real logging (#127).

This commit is contained in:
Dan Helfman 2019-01-27 12:22:22 -08:00
parent 2dc006aab4
commit fa9dfb8ff7
2 changed files with 4 additions and 3 deletions

1
NEWS
View file

@ -1,4 +1,5 @@
1.2.15.dev0 1.2.15.dev0
* #127: Remove date echo from schema example, as it's not a substitute for real logging.
* #136: Handle and format validation errors raised during argument parsing. * #136: Handle and format validation errors raised during argument parsing.
* #139: Allow use of --stats flag when --create or --prune flags are implied. * #139: Allow use of --stats flag when --create or --prune flags are implied.

View file

@ -281,16 +281,16 @@ map:
- type: scalar - type: scalar
desc: List of one or more shell commands or scripts to execute before creating a backup. desc: List of one or more shell commands or scripts to execute before creating a backup.
example: example:
- echo "`date` - Starting a backup job." - echo "Starting a backup job."
after_backup: after_backup:
seq: seq:
- type: scalar - type: scalar
desc: List of one or more shell commands or scripts to execute after creating a backup. desc: List of one or more shell commands or scripts to execute after creating a backup.
example: example:
- echo "`date` - Backup created." - echo "Backup created."
on_error: on_error:
seq: seq:
- type: scalar - type: scalar
desc: List of one or more shell commands or scripts to execute in case an exception has occurred. desc: List of one or more shell commands or scripts to execute in case an exception has occurred.
example: example:
- echo "`date` - Error while creating a backup." - echo "Error while creating a backup."