mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
added help message to status command
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
e84783ee44
commit
7c2f058feb
@ -165,7 +165,7 @@ def main():
|
|||||||
print(" metric enable: " + metric_enable)
|
print(" metric enable: " + metric_enable)
|
||||||
print(" pit enable: " + pit_enable)
|
print(" pit enable: " + pit_enable)
|
||||||
elif(cmds[1] == "help"):
|
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:
|
else:
|
||||||
threads = threading.enumerate()
|
threads = threading.enumerate()
|
||||||
threads = [x.getName() for x in threads]
|
threads = [x.getName() for x in threads]
|
||||||
|
Loading…
Reference in New Issue
Block a user