Skip to content

Commit

Permalink
pixload-jpg: fix case insensitive options
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Dec 6, 2021
1 parent 7e419c6 commit 54529b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pixload-jpg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use warnings;
use feature 'say';

use POSIX;
use Getopt::Long;
use Getopt::Long qw(:config no_ignore_case);
use File::Basename;

use constant PROGRAM => basename $0;
Expand Down Expand Up @@ -101,7 +101,7 @@ Usage: @{[ PROGRAM ]} [OPTION]... FILE
Hide Payload/Malicious Code in JPEG images.
Mandatory arguments to long options are mandatory for short options too.
-s, --section COM|DQT set section for payload injection
-S, --section COM|DQT set section for payload injection
-P, --payload STRING set payload for injection
-v, --version print version and exit
-h, --help print help and exit
Expand All @@ -120,7 +120,7 @@ sub main {
GetOptions(
'h|help!' => \$opts{help},
'v|version!' => \$opts{version},
's|section=s' => \$opts{section},
'S|section=s' => \$opts{section},
'P|payload=s' => \$opts{payload},
) or die "$!\n";

Expand Down

0 comments on commit 54529b4

Please sign in to comment.