~q3cpma/mangadex-tools

c870967bbf426f76ca594d1c1f8c564ef2c12f69 — q3cpma a month ago c54e7c2
Sync README with mdex_dl help
2 files changed, 27 insertions(+), 26 deletions(-)

M README
M mdex_dl.tcl
M README => README +25 -25
@@ 6,31 6,31 @@

Some useful tools to interface with MangaDex via its JSON API:

+----------------------------------------------------------------+
| NAME                                                           |
|     mdex_dl.tcl - download MangaDex chapters                   |
|                                                                |
| SYNOPSIS                                                       |
|     mdex_dl.tcl [OPTION]... MANGA_URL [CHAPTER_NUM...]         |
|     mdex_dl.tcl [OPTION]... CHAPTER_URL...                     |
|     mdex_dl.tcl [OPTION]... MANGA_URL covers [VOLUME_NUM...]   |
|                                                                |
| DESCRIPTION                                                    |
|     Download each of the specified items (chapters or covers). |
|     If no item number list is specified, download all of them. |
|                                                                |
| OPTIONS                                                        |
|     -proxy PROXY_URL                                           |
|         Set the curl HTTP/HTTPS proxy.                         |
|                                                                |
|     -lang LANG_CODE                                            |
|         Only download chapters in this language.               |
|         Defaults to "en".                                      |
|                                                                |
|     -help                                                      |
|         Print this help message and exit.                      |
|                                                                |
+----------------------------------------------------------------+
+-----------------------------------------------------------------------+
| NAME                                                                  |
|     mdex_dl.tcl - download MangaDex chapters                          |
|                                                                       |
| SYNOPSIS                                                              |
|     mdex_dl.tcl [OPTION]... MANGA_URL|MANGA_ID [CHAPTER_NUM...]       |
|     mdex_dl.tcl [OPTION]... CHAPTER_URL...                            |
|     mdex_dl.tcl [OPTION]... MANGA_URL|MANGA_ID covers [VOLUME_NUM...] |
|                                                                       |
| DESCRIPTION                                                           |
|     Download each of the specified items (chapters or covers).        |
|     If no item number list is specified, download all of them.        |
|                                                                       |
| OPTIONS                                                               |
|     -proxy PROXY_URL                                                  |
|         Set the curl HTTP/HTTPS proxy.                                |
|                                                                       |
|     -lang LANG_CODE                                                   |
|         Only download chapters in this language.                      |
|         Defaults to `en`.                                             |
|                                                                       |
|     -help                                                             |
|         Print this help message and exit.                             |
|                                                                       |
+-----------------------------------------------------------------------+

+-----------------------------------------------------------------------------------+
| NAME                                                                              |

M mdex_dl.tcl => mdex_dl.tcl +2 -1
@@ 16,7 16,8 @@ set optres [util::autocli \
	[file tail [info script]] \
	{download MangaDex chapters} \
	{
		{MANGA_URL|MANGA_ID [CHAPTER_NUM...]} {CHAPTER_URL...}
		{MANGA_URL|MANGA_ID [CHAPTER_NUM...]}
		{CHAPTER_URL...}
		{MANGA_URL|MANGA_ID covers [VOLUME_NUM...]}
	} \
	{