add LIST_BINDINGS command switch logical branch
add do_list_bindings function