summaryrefslogtreecommitdiff
path: root/loadbars.pl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-20 21:24:08 +0000
committerPaul Buetow <paul@buetow.org>2010-11-20 21:24:08 +0000
commit507919d7636cd0e1abe82f86fe00fed7aec173ac (patch)
treefb36e9025207328f34aea9583a6e19d55005792f /loadbars.pl
parent12741f7cfbeb2f4d2a090cc198d78f4e9d041cf6 (diff)
added --sshtops
Diffstat (limited to 'loadbars.pl')
-rwxr-xr-xloadbars.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadbars.pl b/loadbars.pl
index e6b08f5..8d3bce9 100755
--- a/loadbars.pl
+++ b/loadbars.pl
@@ -50,7 +50,7 @@ use threads::shared;
use constant {
DEPTH => 8,
PROMPT => 'loadbars> ',
- VERSION => 'loadbars v0.1-beta8-pre3',
+ VERSION => 'loadbars v0.1-beta8-pre4',
COPYRIGHT => '2010 (c) Paul Buetow <loadbars@mx.buetow.org>',
NULL => 0,
MSG_SET_DIMENSION => 1,
@@ -453,7 +453,7 @@ sub dispatch_table () {
inter => { menupos => 4, cmd => 'i', help => 'Set update interval in seconds (default 0.1)', mode => 7, type => 's' },
quit => { menupos => 5, cmd => 'q', help => 'Quit', mode => 1, cb => sub { -1 } },
samples => { menupos => 4, cmd => 's', help => 'Set number of samples until ssh reconnects', mode => 7, type => 'i' },
- sshopts => { menupos => 4, help => 'Set SSH options', mode => 4, type => 's' },
+ sshopts => { menupos => 7, cmd => 'o', help => 'Set SSH options', mode => 7, type => 's' },
toggle => { menupos => 4, cmd => '1', help => 'Toggle CPUs (0 or 1)', mode => 7, type => 'i', cb => \&toggle_cpus },
version => { menupos => 3, cmd => 'v', help => 'Print version', mode => 1, cb => sub { say VERSION . ' ' . COPYRIGHT } },
width => { menupos => 2, help => 'Set windows width', mode => 6, type => 'i' },