cli: fix autocompletion for connection commands
Autocompletion doesn't work in some cases because we present a prompt ending with ":", but compare it with the string without ":" in the autocomplete function. Fix this. While at it, also add missing colon after prompt where needed.
Showing with 10 additions and 10 deletions