diff options
| author | Paul Buetow <paul.buetow@1und1.de> | 2013-06-19 17:47:08 +0200 |
|---|---|---|
| committer | Paul Buetow <paul.buetow@1und1.de> | 2013-06-19 17:47:08 +0200 |
| commit | 1109f84ba27b4bf4570e1ad9ed0d964a13a3a4aa (patch) | |
| tree | e30995b9cb63371ae5a00aa15a1ad0c96ddf49e8 | |
| parent | db1dce493c95ba220a30ef19435241b0654317b9 (diff) | |
change year
| -rw-r--r-- | docs/loadbars.1 | 4 | ||||
| -rw-r--r-- | docs/loadbars.txt | 2 | ||||
| -rw-r--r-- | lib/Loadbars/Constants.pm | 2 | ||||
| -rwxr-xr-x | loadbars | 5 |
4 files changed, 6 insertions, 7 deletions
diff --git a/docs/loadbars.1 b/docs/loadbars.1 index d14a025..8472b05 100644 --- a/docs/loadbars.1 +++ b/docs/loadbars.1 @@ -148,8 +148,8 @@ loadbars \-\-extended 1 \-\-showcores 1 \-\-height 300 \-\-hosts localhost loadbars \-\-hosts localhost,server1.example.com,server2.example.com .PP loadbars \-\-cluster foocluster (foocluster is in /etc/clusters [ClusterSSH]) -.SS "More examples, using bash expansion" -.IX Subsection "More examples, using bash expansion" +.SS "More examples, using shell expansion" +.IX Subsection "More examples, using shell expansion" loadbars servername{01,02,03}.example.com .PP loadbars servername{01..50}.example.com \-\-showcores 1 diff --git a/docs/loadbars.txt b/docs/loadbars.txt index 7d096b1..5201ed6 100644 --- a/docs/loadbars.txt +++ b/docs/loadbars.txt @@ -20,7 +20,7 @@ SYNOPSIS loadbars --cluster foocluster (foocluster is in /etc/clusters [ClusterSSH]) - More examples, using bash expansion + More examples, using shell expansion loadbars servername{01,02,03}.example.com loadbars servername{01..50}.example.com --showcores 1 diff --git a/lib/Loadbars/Constants.pm b/lib/Loadbars/Constants.pm index 6302aee..1d074d5 100644 --- a/lib/Loadbars/Constants.pm +++ b/lib/Loadbars/Constants.pm @@ -6,7 +6,7 @@ use warnings; use SDL::Color; use constant { - COPYRIGHT => '2010-2012 (c) Paul Buetow <loadbars@mx.buetow.org>', + COPYRIGHT => '2010-2013 (c) Paul Buetow <loadbars@mx.buetow.org>', CONFFILE => $ENV{HOME} . '/.loadbarsrc', CSSH_CONFFILE => '/etc/clusters', CSSH_MAX_RECURSION => 10, @@ -41,7 +41,6 @@ Loadbars::Config::read; my @hosts_extra; push @hosts_extra, shift @ARGV while @ARGV and $ARGV[0] !~ /^-/; - GetOptions( 'help|?' => \$usage, $dispatch->('options') ); if ( defined $usage ) { @@ -70,8 +69,8 @@ else { exit Loadbars::Constants->E_NOHOST; } -# Expand a host 'hostname[08..10,13].example.com' to -# hostname08.example.com +# Expand a host 'hostname[08..10,13].example.com' to +# hostname08.example.com # hostname09.example.com # hostname10.example.com # hostname13.example.com |
