remove unused/unneeded "pattern" argument of list_commands