mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 06:34:19 +01:00
Fixes outdated messages
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
def help_add_appointment():
|
||||
return (
|
||||
"NAME:"
|
||||
"\tpython wt_cli add_appointment - Registers a json formatted appointment to the PISA server."
|
||||
"\tpython wt_cli add_appointment - Registers a json formatted appointment to the tower."
|
||||
"\n\nUSAGE:"
|
||||
"\tpython wt_cli add_appointment [command options] appointment/path_to_appointment_file"
|
||||
"\n\nDESCRIPTION:"
|
||||
"\n\n\tRegisters a json formatted appointment to the PISA server."
|
||||
"\n\n\tRegisters a json formatted appointment to the tower."
|
||||
"\n\tif -f, --file *is* specified, then the command expects a path to a json file instead of a json encoded "
|
||||
"\n\tstring as parameter."
|
||||
"\n\nOPTIONS:"
|
||||
@@ -17,9 +17,9 @@ def help_add_appointment():
|
||||
def help_get_appointment():
|
||||
return (
|
||||
"NAME:"
|
||||
"\tpython wt_cli get_appointment - Gets json formatted data about an appointment from the PISA server."
|
||||
"\tpython wt_cli get_appointment - Gets json formatted data about an appointment from the tower."
|
||||
"\n\nUSAGE:"
|
||||
"\tpython wt_cli get_appointment appointment_locator"
|
||||
"\n\nDESCRIPTION:"
|
||||
"\n\n\tGets json formatted data about an appointment from the PISA server.\n"
|
||||
"\n\n\tGets json formatted data about an appointment from the tower.\n"
|
||||
)
|
||||
|
||||
@@ -376,9 +376,9 @@ def show_usage():
|
||||
"\n\tget_appointment \tGets json formatted data about an appointment from the PISA server."
|
||||
"\n\thelp \t\t\tShows a list of commands or help for a specific command."
|
||||
"\n\nGLOBAL OPTIONS:"
|
||||
"\n\t-s, --server \tAPI server where to send the requests. Defaults to btc.pisa.watch (modifiable in "
|
||||
"__init__.py)"
|
||||
"\n\t-p, --port \tAPI port where to send the requests. Defaults to 9814 (modifiable in __init__.py)"
|
||||
"\n\t-s, --server \tAPI server where to send the requests. Defaults to https://teos.pisa.watch (modifiable in "
|
||||
"config.py)"
|
||||
"\n\t-p, --port \tAPI port where to send the requests. Defaults to 443 (modifiable in conf.py)"
|
||||
"\n\t-d, --debug \tshows debug information and stores it in wt_cli.log"
|
||||
"\n\t-h --help \tshows this message."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user