Skip to content

Commit

Permalink
Rephrase some of the messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Nov 15, 2011
1 parent be1e434 commit abf890f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pyrus/ScriptFrontend/Commands.php
Expand Up @@ -939,7 +939,7 @@ function set($args, $options)
$conf->default_channel = $channel->name;
}

echo "Setting $args[variable] for channel " . $conf->default_channel . " in " . $conf->userfile . "\n";
echo "Setting $args[variable] for " . $conf->default_channel . " in " . $conf->userfile . "\n";
$conf->{$args['variable']} = $args['value'];

if ($options['channel']) {
Expand All @@ -949,7 +949,7 @@ function set($args, $options)
echo "Setting $args[variable] in " . $conf->userfile . "\n";
$conf->{$args['variable']} = $args['value'];
} elseif (in_array($args['variable'], $conf->systemvars)) {
echo "Setting $args[variable] for channel " . $conf->default_channel . " in system paths\n";
echo "Setting $args[variable] in system paths\n";
$conf->{$args['variable']} = $args['value'];
} else {
echo "Unknown config variable: $args[variable]\n";
Expand Down

0 comments on commit abf890f

Please sign in to comment.