diff --git a/sat_frontends/jp/cmd_blog.py b/sat_frontends/jp/cmd_blog.py index 2fe8ad42..f739d8b3 100644 --- a/sat_frontends/jp/cmd_blog.py +++ b/sat_frontends/jp/cmd_blog.py @@ -177,7 +177,13 @@ class BlogPublishCommon(object): "-e", "--encrypt", action="store_true", - help=_("end-to-end encrypt the blog item") + help=_("end-to-end encrypt the blog post") + ) + self.parser.add_argument( + "-X", + "--sign", + action="store_true", + help=_("cryptographically sign the blog post") ) async def setMbDataContent(self, content, mb_data): @@ -206,6 +212,8 @@ class BlogPublishCommon(object): mb_data["language"] = self.args.language if self.args.encrypt: mb_data["encrypted"] = True + if self.args.sign: + mb_data["signed"] = True class Set(base.CommandBase, BlogPublishCommon):