diff options
Diffstat (limited to 'tgsend')
-rwxr-xr-x | tgsend | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -7,7 +7,9 @@ # Dependencies: HTTP-Message, JSON ################################################################################ -use Getopt::Long; +$main::VERSION = "0.1.0"; + +use Getopt::Long qw(:config auto_version); use Pod::Usage qw<pod2usage>; use LWP::UserAgent; use Data::Dumper; @@ -85,6 +87,7 @@ tgsend [options] [chatid1 chatid2 ...] =head1 OPTIONS + --version Show version --pretend | -p Do not actually do anything --verbose | -v Show more information (including help) --token | -t Bot token (read from environment otherwise) |