New command config
- version now only displays the version number and copyright notice - config displays the task configuration that version used to show - configuration variable longversion is not longer needed
This commit is contained in:
@@ -39,10 +39,10 @@ if (open my $fh, '>', 'rc.rc')
|
||||
ok (-r 'rc.rc', 'Created rc.rc');
|
||||
}
|
||||
|
||||
my $output = qx{../task rc:rc.rc version};
|
||||
my $output = qx{../task rc:rc.rc config};
|
||||
like ($output, qr/\sfoo\s+bar/, 'unmodified');
|
||||
|
||||
$output = qx{../task rc:rc.rc rc.foo:baz version};
|
||||
$output = qx{../task rc:rc.rc rc.foo:baz config};
|
||||
like ($output, qr/\sfoo\s+baz/, 'overridden');
|
||||
|
||||
unlink 'rc.rc';
|
||||
|
||||
Reference in New Issue
Block a user