Skip to content

Commit

Permalink
Fix passes through unrecognized options
Browse files Browse the repository at this point in the history
The documentation says that "additional arguments or options provided will be passed along to the underlying mysql call."  mysql_camp uses GetOptions to process command line arguments; by default it does not pass through unrecognized arguments.  This change sets GetOptions to pass through unrecognized arguments.
  • Loading branch information
Majikthyse committed Jun 16, 2009
1 parent 0eab741 commit c676d23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/mysql_camp
Expand Up @@ -19,6 +19,8 @@ my (
$usage,
);

Getopt::Long::Configure( ("pass_through") ); # Allow unrecognized options

GetOptions(
'database=s' => \$database,
'user=s' => \$user,
Expand Down

0 comments on commit c676d23

Please sign in to comment.