remove more verbose, report action taken.

This commit is contained in:
Fabien Benureau 2015-01-22 04:06:03 +01:00
parent 2dc1b9ea4f
commit 69a045c203

View File

@ -27,3 +27,7 @@ def command(args):
if force or sure:
for c in args.citekeys:
rp.remove_paper(c)
ui.print_('The paper(s) [{}] were removed'.format(', '.join([color.dye(c, color.citekey) for c in args.citekeys])))
# FIXME: print should check that removal proceeded well.
else:
ui.print_('The paper(s) [{}] were not removed'.format(', '.join([color.dye(c, color.citekey) for c in args.citekeys])))