From 03834336e2b3e7f42b9b9856ab54e4dcf0e56331 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 13 May 2008 17:05:30 +0200 Subject: [PATCH] contrib/cussh.pl: Implemented a `HELP' command. --- contrib/cussh.pl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/contrib/cussh.pl b/contrib/cussh.pl index 3fa41051..f95d54d2 100755 --- a/contrib/cussh.pl +++ b/contrib/cussh.pl @@ -57,6 +57,7 @@ use Collectd::Unixsock(); my $sock = Collectd::Unixsock->new($path); my $cmds = { + HELP => \&cmd_help, PUTVAL => \&putval, GETVAL => \&getval, FLUSH => \&flush, @@ -150,6 +151,25 @@ sub putid { =over 4 +=item B + +=cut + +sub cmd_help { + print < I =cut -- 2.30.2