From 33063733073a9710a50391f09ec697f829a38e76 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Fri, 30 Nov 2007 08:16:25 +1300 Subject: [PATCH] Allow setting the disk space warning threshold from the command line. --- bin/mythtv-status | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/mythtv-status b/bin/mythtv-status index 6d57c8a..cc674fc 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -42,6 +42,7 @@ GetOptions( 'v|version' => \&print_version, 'email=s@' => \@email, 'email-only-on-conflict' => \$email_only_on_conflict, + 'disk-space-warn=i' => \$disk_space_warn, 'status!' => \$display{'Status'}, 'encoders!' => \$display{'Encoders'}, @@ -606,6 +607,12 @@ Use colour when showing the status of the encoder(s). Display the description for the scheduled recordings. +=item B<--disk-space-warn> + +The threshold (in percent) of used disk space that we should show +the disk space in red (if using colour) or send an email if we're +in email mode with email only on warnings. + =item B<-e, --episode> Display the episode (subtitle) for the scheduled recordings. -- 2.30.2