fixed the set and add commands in the example client tool

were broken when introducing the -i and -e flags