From 036ec045670ce5387178f458c3618d422845fdb9 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 10 Jul 2017 03:10:39 -0500 Subject: [PATCH] add new env. (#46) Signed-off-by: Bo-Yi Wu --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 54af4f2..85a283b 100644 --- a/main.go +++ b/main.go @@ -26,12 +26,12 @@ func main() { cli.StringSliceFlag{ Name: "to", Usage: "telegram user", - EnvVar: "PLUGIN_TO", + EnvVar: "PLUGIN_TO,TELEGRAM_TO", }, cli.StringSliceFlag{ Name: "message", Usage: "send telegram message", - EnvVar: "PLUGIN_MESSAGE", + EnvVar: "PLUGIN_MESSAGE,TELEGRAM_MESSAGE", }, cli.StringSliceFlag{ Name: "photo",