# HG changeset patch # User Goffi # Date 1666975637 -7200 # Node ID e2a5f2f5e57bb9d4cbe799d408b74f9a4e753f45 # Parent b8ab6da58ac85ab2f0e86e671d3dc0b35c0308f9 cli (blog/set): new `--sign` argument: rel 381 diff -r b8ab6da58ac8 -r e2a5f2f5e57b sat_frontends/jp/cmd_blog.py --- a/sat_frontends/jp/cmd_blog.py Fri Oct 28 18:47:17 2022 +0200 +++ b/sat_frontends/jp/cmd_blog.py Fri Oct 28 18:47:17 2022 +0200 @@ -177,7 +177,13 @@ "-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 @@ 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):