tab-completion more capable, does not break on --params