[PATCH 3/3] programs/cmd: implement filename completion