diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2007-03-02 18:17:16 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2007-03-02 18:17:16 +0000 |
commit | cd454f575cc33d50355bce76f9bb38402cf66cdb (patch) | |
tree | 38782d371da307d662498019c2580beaa0d618ce /modules/Driver.pm | |
parent | f97576edaf2a13cea2b412fa3f93bccb62803332 (diff) | |
download | MPC-cd454f575cc33d50355bce76f9bb38402cf66cdb.tar.gz |
ChangeLogTag: Fri Mar 2 18:14:56 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/Driver.pm')
-rw-r--r-- | modules/Driver.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/Driver.pm b/modules/Driver.pm index 900135c8..2a6c9dc4 100644 --- a/modules/Driver.pm +++ b/modules/Driver.pm @@ -180,7 +180,7 @@ sub optionError { $self->printUsage($line, $self->{'name'}, Version::get(), keys %{$self->{'types'}}); - exit(0); + exit(defined $line ? 1 : 0); } @@ -531,7 +531,8 @@ sub run { $options->{'use_env'}, $options->{'expand_vars'}, $options->{'gendot'}, - $options->{'comments'}); + $options->{'comments'}, + $options->{'for_eclipse'}); ## Update settings based on the configuration file $creator->set_verbose_ordering($cfg->get_value('verbose_ordering')); |