diff --git a/bin/tau/tau-python/main.py b/bin/tau/tau-python/main.py index a053be239b0a..f45a511f3614 100644 --- a/bin/tau/tau-python/main.py +++ b/bin/tau/tau-python/main.py @@ -607,11 +607,13 @@ async def main(): filters = sys.argv[2:] list_tasks(tasks, workspace, filters) else: - await show_active_tasks() + await show_active_tasks(workspace, server_name, port) return 0 elif sys.argv[1] == "switch": if not await api.switch_workspace(sys.argv[2], server_name, port): print(f"Error: Workspace \"{sys.argv[2]}\" is not configured.") + else: + print(f"You are now on \"{sys.argv[2]}\" workspace.") return 0 try: