Adds teosd command line help

This commit is contained in:
Sergi Delgado Segura
2020-03-23 16:12:00 +01:00
parent 4071a689af
commit 3c6f7cf15f
2 changed files with 19 additions and 1 deletions

13
teos/help.py Normal file
View File

@@ -0,0 +1,13 @@
def show_usage():
return (
"USAGE: "
"\n\tpython teosd.py [global options]"
"\n\nGLOBAL OPTIONS:"
"\n\t--btcnetwork \t\tNetwork bitcoind is connected to. Either mainnet, testnet or regtest. Defaults to 'mainnet' (modifiable in conf file)."
"\n\t--btcrpcuser \t\tbitcoind rpcuser. Defaults to 'user' (modifiable in conf file)."
"\n\t--btcrpcpassword \tbitcoind rpcpassword. Defaults to 'passwd' (modifiable in conf file)."
"\n\t--btcrpcconnect \tbitcoind rpcconnect. Defaults to 'localhost' (modifiable in conf file)."
"\n\t--btcrpcport \t\tbitcoind rpcport. Defaults to '8332' (modifiable in conf file)."
"\n\t--datadir \t\tspecify data directory. Defaults to '~\.teos' (modifiable in conf file)."
"\n\t-h --help \t\tshows this message."
)