command: protect against passing ambiguous arguments to keys command