diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-04-13 16:55:00 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-04-13 16:55:00 +0100 |
commit | 7d0806ff57733a2ad3b1ff5a97556b584ac96c62 (patch) | |
tree | 56f0d0b6a97f177f8a5d91086daa7841f67cbb93 /obnamlib/plugins/show_plugin.py | |
parent | d8c1689a7fe5966dec55d370a6ad82b9926e0b37 (diff) | |
download | obnam-7d0806ff57733a2ad3b1ff5a97556b584ac96c62.tar.gz |
Format long lines
Diffstat (limited to 'obnamlib/plugins/show_plugin.py')
-rw-r--r-- | obnamlib/plugins/show_plugin.py | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/obnamlib/plugins/show_plugin.py b/obnamlib/plugins/show_plugin.py index 91817c36..169778a9 100644 --- a/obnamlib/plugins/show_plugin.py +++ b/obnamlib/plugins/show_plugin.py @@ -60,24 +60,26 @@ class ShowPlugin(obnamlib.ObnamPlugin): self.app.add_subcommand('nagios-last-backup-age', self.nagios_last_backup_age) - self.app.settings.string(['warn-age'], - 'for nagios-last-backup-age: maximum age (by ' - 'default in hours) for the most recent ' - 'backup before status is warning. ' - 'Accepts one char unit specifier ' - '(s,m,h,d for seconds, minutes, hours, ' - 'and days.', - metavar='AGE', - default=obnamlib.DEFAULT_NAGIOS_WARN_AGE) - self.app.settings.string(['critical-age'], - 'for nagios-last-backup-age: maximum age ' - '(by default in hours) for the most ' - 'recent backup before statis is critical. ' - 'Accepts one char unit specifier ' - '(s,m,h,d for seconds, minutes, hours, ' - 'and days.', - metavar='AGE', - default=obnamlib.DEFAULT_NAGIOS_WARN_AGE) + self.app.settings.string( + ['warn-age'], + 'for nagios-last-backup-age: maximum age (by ' + 'default in hours) for the most recent ' + 'backup before status is warning. ' + 'Accepts one char unit specifier ' + '(s,m,h,d for seconds, minutes, hours, ' + 'and days.', + metavar='AGE', + default=obnamlib.DEFAULT_NAGIOS_WARN_AGE) + self.app.settings.string( + ['critical-age'], + 'for nagios-last-backup-age: maximum age ' + '(by default in hours) for the most ' + 'recent backup before statis is critical. ' + 'Accepts one char unit specifier ' + '(s,m,h,d for seconds, minutes, hours, ' + 'and days.', + metavar='AGE', + default=obnamlib.DEFAULT_NAGIOS_WARN_AGE) def open_repository(self, require_client=True): self.app.settings.require('repository') |