[gimp-perl] Allow --help to work with single-proc scripts again.
- From: Ed J <edj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-perl] Allow --help to work with single-proc scripts again.
- Date: Sun, 25 May 2014 14:39:51 +0000 (UTC)
commit d0e0b96987f39bb56215a913d8536b6f0df5cb4d
Author: Ed J <edj src gnome org>
Date: Sun May 25 15:39:32 2014 +0100
Allow --help to work with single-proc scripts again.
Gimp/Fu.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Gimp/Fu.pm b/Gimp/Fu.pm
index 35f4a6f..37174ac 100644
--- a/Gimp/Fu.pm
+++ b/Gimp/Fu.pm
@@ -445,7 +445,7 @@ sub main {
my $proc;
Getopt::Long::Configure('pass_through');
Getopt::Long::GetOptions('p=s' => \$proc);
- my $this = defined($proc) ? find_script($proc) : undef;
+ my $this = find_script($proc);
print __<<EOF;
interface-arguments are
-o | --output <filespec> write image to disk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]