diff options
author | Tobias Oetiker <tobi@oetiker.ch> | 2012-07-03 22:37:14 +0200 |
---|---|---|
committer | Tobias Oetiker <tobi@oetiker.ch> | 2012-07-03 22:37:14 +0200 |
commit | dde47e5461dbbe07ce5653971f98912625ea233e (patch) | |
tree | f26a5267850d22371f74dd722bae1bfa3bd29960 | |
parent | 689cbec359940d2eead85d9567a4b3be530507af (diff) | |
download | smokeping-dde47e5461dbbe07ce5653971f98912625ea233e.tar.gz smokeping-dde47e5461dbbe07ce5653971f98912625ea233e.tar.xz |
set a default for end too
-rwxr-xr-x | bin/smokeinfo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/smokeinfo b/bin/smokeinfo index 8f41a2a..571bd5a 100755 --- a/bin/smokeinfo +++ b/bin/smokeinfo @@ -17,7 +17,7 @@ my $Revision = $1; sub main() { # parse options - my %opt = (mode=>'plain',separator=>';',format=>'%le',start=>'end-24h'); + my %opt = (mode=>'plain',separator=>';',format=>'%le',start=>'end-24h',end=>'now'); GetOptions(\%opt, 'help|h', 'man', 'version', 'noaction|no-action|n','no-head', 'start=s','end=s','filter=s','mode=s','separator=s','format=s') or exit(1); |