diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/ivycontrolpanel | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ivycontrolpanel b/src/ivycontrolpanel index 0ad3bda..4a18874 100755 --- a/src/ivycontrolpanel +++ b/src/ivycontrolpanel @@ -109,8 +109,10 @@ Getopt::Long::Configure('pass_through'); 'position=s','pingthreshold=s'); &usage(1) if $opt{help}; -my ($fuguefile) = @ARGV; +my ($fuguefile) = pop @ARGV; +&usage unless defined($fuguefile); +my @cppopts = @ARGV; #--------------------------------------------------------------------------------- # @@ -410,7 +412,7 @@ IvyIO::bind_for_kill_all(\&killandquit); my ($code, @fugueconfigdata); if ($fuguefile) { - ($code, @fugueconfigdata) = &FugueConfig::parse($fuguefile); + ($code, @fugueconfigdata) = &FugueConfig::parse($fuguefile, @cppopts); die "Can't parse fugue config file $fuguefile\n" unless $code; } |