From 428615368f7c3c69ad415859162a432cf0866458 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Sun, 30 Jun 2019 13:46:45 +0200 Subject: Add examples to documentation --- tgserver | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tgserver') 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. For every update it runs I 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): -- cgit v1.2.3