Simplify "cmdline_completion" method