aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Ramos2019-06-29 21:59:57 +0200
committerGuillermo Ramos2019-06-29 21:59:57 +0200
commit5ac0ec6c1557c08716f5a39a3fbd3f1d272422d7 (patch)
tree6db845a70807e33639105a54820ff2a686da0059
parenta6bffb72b4e45522df8b0bf273f9c77420208fc0 (diff)
downloadtgutils-5ac0ec6c1557c08716f5a39a3fbd3f1d272422d7.tar.gz
Fix missing <token> argument in docs
-rwxr-xr-xtgrecv22
-rwxr-xr-xtgsend10
-rwxr-xr-xtgserver8
3 files changed, 20 insertions, 20 deletions
diff --git a/tgrecv b/tgrecv
index 4670b63..2d80493 100755
--- a/tgrecv
+++ b/tgrecv
@@ -82,17 +82,17 @@ tgrecv [options]
=head1 OPTIONS
- --offset Offset of the first message to receive - previous ones are
- discarded
- --auto-offset Use offset cache to automatically discard previous updates
- (if combined with --offset, cache the last update but
- still use the provided offset for the current request)
- --timeout Timeout for long polling (default: 60 seconds)
- --output=file Write the output to file instead of stdout
- --token | -t Bot token (see AUTHENTICATION)
- --version Show version
- --verbose | -v Show more information (combine with -h to see full manual)
- --help | -h Show this message
+ --offset Offset of the first message to receive - previous ones are
+ discarded
+ --auto-offset Use offset cache to automatically discard previous updates
+ (if combined with --offset, cache the last update but
+ still use the provided offset for the current request)
+ --timeout Timeout for long polling (default: 60 seconds)
+ --output=file Write the output to file instead of stdout
+ (--token | -t) <token> Bot token (see AUTHENTICATION)
+ --version Show version
+ --verbose | -v Show more information (combine with -h to see full manual)
+ --help | -h Show this message
=head1 DESCRIPTION
diff --git a/tgsend b/tgsend
index 1557cca..a757311 100755
--- a/tgsend
+++ b/tgsend
@@ -67,11 +67,11 @@ tgsend [options] [chatid1 chatid2 ...]
=head1 OPTIONS
- --pretend | -p Do not actually do anything
- --token | -t Bot token (see AUTHENTICATION)
- --version Show version
- --verbose | -v Show more information (combine with -h to see full manual)
- --help | -h Show this message
+ --pretend | -p Do not actually do anything
+ (--token | -t) <token> Bot token (see AUTHENTICATION)
+ --version Show version
+ --verbose | -v Show more information (combine with -h to see full manual)
+ --help | -h Show this message
=head1 DESCRIPTION
diff --git a/tgserver b/tgserver
index 187cb99..d1058bf 100755
--- a/tgserver
+++ b/tgserver
@@ -80,10 +80,10 @@ tgserver [options] -- B<prog>
=head1 OPTIONS
- --token | -t Bot token (see AUTHENTICATION)
- --version Show version
- --verbose | -v Show more information (combine with -h to see full manual)
- --help | -h Show this message
+ (--token | -t) <token> Bot token (see AUTHENTICATION)
+ --version Show version
+ --verbose | -v Show more information (combine with -h to see full manual)
+ --help | -h Show this message
=head1 DESCRIPTION