From b54923473582b86df9a043de584b7eefd0f8c640 Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Thu, 30 Aug 2012 23:43:11 -0700 Subject: pinyconfig: explicitly declare short opts Getopt::Long does not appear to auto_abbrev properly ;\ --- pinyadmin/sbin/pinyconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pinyadmin/sbin/pinyconfig') diff --git a/pinyadmin/sbin/pinyconfig b/pinyadmin/sbin/pinyconfig index 67c6b53..2e70d02 100755 --- a/pinyadmin/sbin/pinyconfig +++ b/pinyadmin/sbin/pinyconfig @@ -10,9 +10,9 @@ use Getopt::Long qw(:config bundling auto_abbrev); my ( $fast, $user, $help ) = ( 0, 0, 0 ); GetOptions ( - "fast" => \$fast, - "user" => \$user, - "help" => \$help + "fast|f" => \$fast, + "user|u" => \$user, + "help|h" => \$help ); my ( $reponame, $attr, $value ) = @ARGV; -- cgit v1.2.3