aboutsummaryrefslogtreecommitdiff
path: root/tgserver
diff options
context:
space:
mode:
authorGuillermo Ramos2019-06-30 13:46:45 +0200
committerGuillermo Ramos2019-06-30 13:46:45 +0200
commit428615368f7c3c69ad415859162a432cf0866458 (patch)
tree0677b7a5657f155cce38129dd7708216fe830dee /tgserver
parent95faae2a4d687a189127621faaeecf17a040c3eb (diff)
downloadtgutils-428615368f7c3c69ad415859162a432cf0866458.tar.gz
Add examples to documentation
Diffstat (limited to 'tgserver')
-rwxr-xr-xtgserver5
1 files changed, 5 insertions, 0 deletions
diff --git a/tgserver b/tgserver
index 6d1f69d..e624ae2 100755
--- a/tgserver
+++ b/tgserver
@@ -107,6 +107,11 @@ This program waits for Telegram updates from the bot identified by I<token>. For
every update it runs I<prog> with stdin piped to the update, and sending stdout
back as response.
+=head1 EXAMPLE
+
+ tgserver --token 123456789:abcdefghijklmnopqrstuvwxyzABCDEFGHI -- \
+ cowsay -f moofasa
+
=head1 AUTHENTICATION
To get the bot token, this program will check (in order):