Make taskwarrior shut up about overrides
This commit is contained in:
parent
91c7d26c48
commit
e023b40575
1 changed files with 2 additions and 2 deletions
|
@ -19,13 +19,13 @@ function taskwarrior.import(...)
|
||||||
for i, filter in ipairs(filters) do
|
for i, filter in ipairs(filters) do
|
||||||
filters[i] = shellescape(filter)
|
filters[i] = shellescape(filter)
|
||||||
end
|
end
|
||||||
return json.decode(io.popen("task "..table.concat(filters, " ").." export"):read("*a"))
|
return json.decode(io.popen("task rc.verbose: "..table.concat(filters, " ").." export"):read("*a"))
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Export tasks back into taskwarrior using the import command
|
--- Export tasks back into taskwarrior using the import command
|
||||||
--- @param items Task[] Sequence of tasks to import
|
--- @param items Task[] Sequence of tasks to import
|
||||||
function taskwarrior.export(items)
|
function taskwarrior.export(items)
|
||||||
local handle = assert(io.popen("task import"))
|
local handle = assert(io.popen("task rc.verbose: import"))
|
||||||
handle:write(json.encode(items))
|
handle:write(json.encode(items))
|
||||||
handle:close()
|
handle:close()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue