diff --git a/pol2reg.pl b/pol2reg.pl index 3a2c168..58a82ac 100755 --- a/pol2reg.pl +++ b/pol2reg.pl @@ -10,10 +10,10 @@ my $context; -GetOptions ("context|=s" => \$context); +GetOptions ("context|c=s" => \$context); sub usage { - print "Usage: $0 --context=HKLM|HKCU\n"; + print "Usage: $0 --context HKLM|HKCU\n"; exit 1; }