From: Florian Forster Date: Tue, 13 May 2008 15:05:30 +0000 (+0200) Subject: contrib/cussh.pl: Implemented a `HELP' command. X-Git-Tag: collectd-4.4.1~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=03834336e2b3e7f42b9b9856ab54e4dcf0e56331;p=collectd.git contrib/cussh.pl: Implemented a `HELP' command. --- 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