From 5e7f1150d57cb382ef0541ef8892ca7783a56bbe Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Mon, 27 Nov 2023 10:43:56 +1100 Subject: [PATCH] Update readme --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3a9dd8a..d9f1233 100755 --- a/README.md +++ b/README.md @@ -10,13 +10,17 @@ Super simple curl wrapper to send Telegram messages. # Usage ```text -usage: ./telegram-send.sh "text to send" +usage: ./telegram-send.sh [OPTIONS] "text to send" Instructs telegram bot to send the supplied message to a chat. +OPTIONS + -b filename Override default bot token file (/Users/rob/.telegram/bottoken) + -c filename Override default chat id token file (/Users/rob/.telegram/chatid) + Needs these files to work: -File with telegram bot token: /Users/rob/.telegram/bottoken -File with telegram chat id: /Users/rob/.telegram/chatid + File with telegram bot token: /Users/rob/.telegram/bottoken + File with telegram chat id: /Users/rob/.telegram/chatid ``` # Example