contrib/lar: small fixes in cli.c