Add-ons
- Suppressed output using rc.verbose=nothing. - Removed [...] from output with rc.json.array=no.
This commit is contained in:
@@ -38,7 +38,7 @@ if ($@)
|
||||
}
|
||||
|
||||
# Use the taskwarrior 2.0+ export command to filter and return JSON
|
||||
my $command = join (' ', ("env PATH='$ENV{PATH}' task export", @ARGV));
|
||||
my $command = join (' ', ("env PATH='$ENV{PATH}' task rc.verbose=nothing rc.json.array=no export", @ARGV));
|
||||
if ($command =~ /No matches/)
|
||||
{
|
||||
printf STDERR $command;
|
||||
|
||||
Reference in New Issue
Block a user