jp (pubsub/delete): show deleted node + handle URIs

This commit is contained in:
Goffi 2017-10-27 08:33:48 +02:00
commit bfc27d68dd

View file

@ -130,10 +130,11 @@ class NodeDelete(base.CommandBase):
self.parser.add_argument('-f', '--force', action='store_true', help=_(u'delete node without confirmation'))
def psNodeDeleteCb(self):
self.disp(_(u'node deleted successfully'))
self.disp(_(u'node [{node}] deleted successfully').format(node=self.args.node))
self.host.quit()
def start(self):
common.checkURI(self.args)
if not self.args.force:
if not self.args.service:
message = _(u"Are you sure to delete pep node [{node_id}] ?").format(