Add the completion function support for gsop command.