mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-12-30 19:39:09 +00:00
added help message to status command
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
f58ec851e2
commit
defa06a6ac
2
tra.py
2
tra.py
@ -165,7 +165,7 @@ def main():
|
||||
print(" metric enable: " + metric_enable)
|
||||
print(" pit enable: " + pit_enable)
|
||||
elif(cmds[1] == "help"):
|
||||
|
||||
print("usage: status [arg]\nDisplays the status of the tra data analysis threads.\nArguments:\n threads - prints the stuatus ofcurrently running threads\n flags - prints the status of control and indicator flags\n config - prints the current configuration information\n all - prints all statuses\n <name_of_thread> - prints the status of a specific thread")
|
||||
else:
|
||||
threads = threading.enumerate()
|
||||
threads = [x.getName() for x in threads]
|
||||
|
Loading…
Reference in New Issue
Block a user