diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/ivymon | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -39,7 +39,7 @@ $mw->minsize(850, 768); if (not GetOptions('-help', '-history=s', '-b=s') or $opt_help) { print "Usage: ivymon [options]\n"; print "Options : \n"; - print " -s <[addr]:port> bus port(default $ivy_port)\n"; + print " -b <[addr]:port> bus port(default $ivy_port)\n"; print " -history <number> messages history length (default $history)\n"; print " -help help message \n"; exit ; @@ -209,7 +209,6 @@ my $bindingsRemove = -command => [\&removeBinding])->pack(-fill => 'both', -side => 'bottom', -expand => 1); - #---------------------------------------------------------------------------------- # Description de la zone Recherche #---------------------------------------------------------------------------------- @@ -367,6 +366,10 @@ $ivy->start; $mw->repeat(1000, \&updateDuration); +# par defaut on cree l'abonnement (.*) +$bindingsEntry->insert(0, '(.*)'); +&addBinding; + MainLoop; #================================================================================== |