From 6efee6c2cee18a49f37b9078740c95ffe19dd85f Mon Sep 17 00:00:00 2001 From: iyear Date: Thu, 15 Sep 2022 15:52:03 +0800 Subject: [PATCH] docs(cmd): update --- docs/command/tdl.md | 2 +- docs/command/tdl_chat.md | 10 ++++++++-- docs/command/tdl_chat_ls.md | 8 +++++++- docs/command/tdl_dl.md | 2 +- docs/command/tdl_dl_url.md | 2 +- docs/command/tdl_login.md | 4 ++-- docs/command/tdl_up.md | 6 +++--- docs/command/tdl_version.md | 2 +- 8 files changed, 24 insertions(+), 12 deletions(-) diff --git a/docs/command/tdl.md b/docs/command/tdl.md index b099443..11f28cf 100644 --- a/docs/command/tdl.md +++ b/docs/command/tdl.md @@ -1,6 +1,6 @@ ## tdl -Telegram downloader, but not only a downloader +Telegram Downloader, but more than a downloader ### Examples diff --git a/docs/command/tdl_chat.md b/docs/command/tdl_chat.md index c296831..81a1c93 100644 --- a/docs/command/tdl_chat.md +++ b/docs/command/tdl_chat.md @@ -2,6 +2,12 @@ A set of chat tools +### Examples + +``` +tdl chat -h +``` + ### Options ``` @@ -17,6 +23,6 @@ A set of chat tools ### SEE ALSO -* [tdl](tdl.md) - Telegram downloader, but not only a downloader -* [tdl chat ls](tdl_chat_ls.md) - List your all chats with info +* [tdl](tdl.md) - Telegram Downloader, but more than a downloader +* [tdl chat ls](tdl_chat_ls.md) - List your chats diff --git a/docs/command/tdl_chat_ls.md b/docs/command/tdl_chat_ls.md index e4ca3e4..eb0d1fc 100644 --- a/docs/command/tdl_chat_ls.md +++ b/docs/command/tdl_chat_ls.md @@ -1,11 +1,17 @@ ## tdl chat ls -List your all chats with info +List your chats ``` tdl chat ls [flags] ``` +### Examples + +``` +tdl chat ls -n iyear --proxy socks5://localhost:1080 +``` + ### Options ``` diff --git a/docs/command/tdl_dl.md b/docs/command/tdl_dl.md index f4321e6..22ed561 100644 --- a/docs/command/tdl_dl.md +++ b/docs/command/tdl_dl.md @@ -26,6 +26,6 @@ tdl dl -h ### SEE ALSO -* [tdl](tdl.md) - Telegram downloader, but not only a downloader +* [tdl](tdl.md) - Telegram Downloader, but more than a downloader * [tdl dl url](tdl_dl_url.md) - Download in url mode diff --git a/docs/command/tdl_dl_url.md b/docs/command/tdl_dl_url.md index c573473..0334fd3 100644 --- a/docs/command/tdl_dl_url.md +++ b/docs/command/tdl_dl_url.md @@ -9,7 +9,7 @@ tdl dl url [flags] ### Examples ``` -tdl dl url -n iyear --proxy socks5://127.0.0.1:1080 -u https://t.me/tdl/1 -u https://t.me/tdl/2 -s 262144 -t 16 -l 3 +tdl dl url -n iyear --proxy socks5://localhost:1080 -u https://t.me/tdl/1 -u https://t.me/tdl/2 -s 262144 -t 16 -l 3 ``` ### Options diff --git a/docs/command/tdl_login.md b/docs/command/tdl_login.md index f23a0f5..224aaca 100644 --- a/docs/command/tdl_login.md +++ b/docs/command/tdl_login.md @@ -9,7 +9,7 @@ tdl login [flags] ### Examples ``` -tdl login -n my-tdl --proxy socks5://localhost:1080 +tdl login -n iyear --proxy socks5://localhost:1080 ``` ### Options @@ -27,5 +27,5 @@ tdl login -n my-tdl --proxy socks5://localhost:1080 ### SEE ALSO -* [tdl](tdl.md) - Telegram downloader, but not only a downloader +* [tdl](tdl.md) - Telegram Downloader, but more than a downloader diff --git a/docs/command/tdl_up.md b/docs/command/tdl_up.md index 3b31bab..6629784 100644 --- a/docs/command/tdl_up.md +++ b/docs/command/tdl_up.md @@ -9,7 +9,7 @@ tdl up [flags] ### Examples ``` -tdl up -h +tdl up -n iyear --proxy socks5://localhost:1080 -p /path/to/file -p /path -e .so -e .tmp -s 262144 -t 16 -l 3 ``` ### Options @@ -19,7 +19,7 @@ tdl up -h -h, --help help for up -l, --limit int max number of concurrent tasks (default 2) -s, --part-size int part size for uploading, max is 512*1024 (default 524288) - -p, --path strings it can be dirs or files + -p, --path strings dirs or files -t, --threads int threads for uploading one item (default 8) ``` @@ -32,5 +32,5 @@ tdl up -h ### SEE ALSO -* [tdl](tdl.md) - Telegram downloader, but not only a downloader +* [tdl](tdl.md) - Telegram Downloader, but more than a downloader diff --git a/docs/command/tdl_version.md b/docs/command/tdl_version.md index a09f51e..f361e82 100644 --- a/docs/command/tdl_version.md +++ b/docs/command/tdl_version.md @@ -27,5 +27,5 @@ tdl version ### SEE ALSO -* [tdl](tdl.md) - Telegram downloader, but not only a downloader +* [tdl](tdl.md) - Telegram Downloader, but more than a downloader