From 6a55d413ffafb5cf025704c1234d75d9224d957f Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Sat, 23 Apr 2011 14:33:54 +0100 Subject: scriptassist/scriptassist: fixed help() --- scriptassist/scriptassist.pl | 90 +++++++++++++++++++++++--------------------- 1 file changed, 47 insertions(+), 43 deletions(-) (limited to 'scriptassist/scriptassist.pl') diff --git a/scriptassist/scriptassist.pl b/scriptassist/scriptassist.pl index 30e3078..fcd2c8c 100644 --- a/scriptassist/scriptassist.pl +++ b/scriptassist/scriptassist.pl @@ -5,7 +5,7 @@ use strict; use warnings; -use Irssi 20020324; +use Irssi; use Data::Dumper; use LWP::UserAgent; @@ -24,7 +24,6 @@ our %IRSSI = ( commands => "scriptassist" ); -#use vars qw($forked %remote_db $have_gpg); our ($forked, %remote_db, @complist); @@ -36,40 +35,45 @@ eval { require GnuPG; $have_gpg = 1 unless $@; sub show_help { - my $help = "scriptassist $VERSION -/scriptassist check - Check all loaded scripts for new available versions -/scriptassist update - Update the selected or all script to the newest version -/scriptassist search - Search the script database -/scriptassist info - Display information about -/scriptassist ratings - Retrieve the average ratings of the the scripts -/scriptassist top - Retrieve the first top rated scripts -/scriptassist new - Display the newest scripts -/scriptassist rate