Skip to content

Commit

Permalink
[theme] help if noargs
Browse files Browse the repository at this point in the history
  • Loading branch information
bw1 committed Jul 2, 2019
1 parent 53e732f commit 4753b4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/theme.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

use Irssi;

$VERSION = '0.01';
$VERSION = '0.02';
%IRSSI = (
authors => 'bw1',
contact => 'bw1@aol.at',
name => 'theme',
description => 'activate, show or get theme',
license => 'Public Domain',
url => 'https://scripts.irssi.org/',
changed => '2019-06-11',
changed => '2019-07-02',
modules => 'File::Basename File::Fetch File::Glob Getopt::Long',
commands=> 'theme',
);
Expand Down Expand Up @@ -172,7 +172,7 @@ sub cmd {
}
$list = undef;
}
if (defined $phelp) {
if (defined $phelp || $args eq '' ) {
cmd_help($IRSSI{name}, $server, $witem);
$phelp = undef;
}
Expand Down

0 comments on commit 4753b4c

Please sign in to comment.