diff options
author | redmatrix <git@macgirvin.com> | 2016-01-12 20:05:37 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-12 20:05:37 -0800 |
commit | 0484f5b0dc1867618c5d29fe234c7e2a38f748e3 (patch) | |
tree | 08d67cfefcba2af2edc53756e5408777210a210a /util/hz | |
parent | 961540160f0924e2b64eb52bc8a0a3c82407468a (diff) | |
parent | 93096a9db896fb0a7489b661ca744ea75a071198 (diff) | |
download | volse-hubzilla-0484f5b0dc1867618c5d29fe234c7e2a38f748e3.tar.gz volse-hubzilla-0484f5b0dc1867618c5d29fe234c7e2a38f748e3.tar.bz2 volse-hubzilla-0484f5b0dc1867618c5d29fe234c7e2a38f748e3.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'util/hz')
-rwxr-xr-x | util/hz | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ echo " USER=youruserame " echo " PASS=yourpass" echo " HUB=your.hub.domain.org" echo -echo "Type \"hz\" (with or without a conf file as an arg), then enter your message. Hit control-d when done." +echo "Type \"hz\" (with or without a conf file as an arg), then enter your message. Hit ENTER to send." } @@ -29,7 +29,7 @@ CUR=`which curl` [ "$PASS" ] || { echo "no PASS"; usage; exit 1; } [ "$HUB" ] || { echo "no HUB"; usage; exit 1; } -echo "enter your message to be posted as $USER @ $HUB, then hit control-d:" +echo "enter your message to be posted as $USER @ $HUB, then hit ENTER to send:" (read MSG; curl -ssl -u${USER}:${PASS} --data-urlencode "status=${MSG}" https://${HUB}/api/statuses/update ) |