From a5adc41be2a16bff5c4cc903cb25ca9fe9a7debf Mon Sep 17 00:00:00 2001
From: Holger <holger@nahrstaedt.de>
Date: Fri, 9 Nov 2018 21:12:59 +0100
Subject: [PATCH] Fix typo and adapt changelog

---
 CHANGELOG.rst | 1 +
 beem/cli.py   | 8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 28743c79..e1f9cea0 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -7,6 +7,7 @@ Changelog
 * RC costs adapted on changes from 0.20.6
 * VIT chain fixed
 * update_account_keys function added to account
+* beempy commands for post, reply and beneficiaries added
 
 0.20.9
 ------
diff --git a/beem/cli.py b/beem/cli.py
index 3d2cb7bc..6aff76e7 100644
--- a/beem/cli.py
+++ b/beem/cli.py
@@ -1628,7 +1628,7 @@ def post(body, account, title, permlink, tags, reply_identifier, community, bene
 @click.argument('body', nargs=1)
 @click.option('--account', '-a', help='Account are you posting from')
 @click.option('--title', '-t', help='Title of the post')
-def replay(authorperm, body, account, title):
+def reply(authorperm, body, account, title):
     """replies to a comment"""
     stm = shared_steem_instance()
     if stm.rpc is not None:
@@ -1641,7 +1641,11 @@ def replay(authorperm, body, account, title):
     c = Comment(authorperm, steem_instance=stm)
     if title is None:
         title = ""
-    c.rely(body, title=title, author=account)
+    tx = c.reply(body, title=title, author=account)
+    if stm.unsigned and stm.nobroadcast and stm.steemconnect is not None:
+        tx = stm.steemconnect.url_from_tx(tx)
+    tx = json.dumps(tx, indent=4)
+    print(tx)    
 
 
 @cli.command()
-- 
GitLab