You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
420 B
19 lines
420 B
4 years ago
|
import system
|
||
|
|
||
|
const
|
||
|
help = """
|
||
|
Usage: twit2blog [opts]
|
||
|
|
||
|
Options:
|
||
|
-u, --user The screen name of the twitter user. E.g. If your twitter is https://twitter.com/foobar, then `foobar`.
|
||
|
-t, --thread The ID of the last tweet in your thread. E.g. 12345.
|
||
|
|
||
|
For more information read the Github readme:
|
||
|
https://github.com/weskerfoot/Twit2Blog#readme
|
||
|
"""
|
||
|
|
||
|
proc writeHelp*(quit=true) =
|
||
|
echo(help)
|
||
|
if quit:
|
||
|
quit(1)
|