[gimp-perl] Allow --help to work with single-proc scripts again.



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]