diff --git a/src/emc/usr_intf/emcrsh.cc b/src/emc/usr_intf/emcrsh.cc index c50b7643fa9..ca26a503bbf 100644 --- a/src/emc/usr_intf/emcrsh.cc +++ b/src/emc/usr_intf/emcrsh.cc @@ -3080,7 +3080,7 @@ int commandGetSet(connectionRecType &ctx, cmdType getset) errornl( ctx, fmt::format("Too few arguments to SET {}, have {}, need {} or more", tag->name, ctx.toks.size() - 2, tag->nset)); - replynl(ctx, fmt::format("GET {} NAK", tag->name)); + replynl(ctx, fmt::format("SET {} NAK", tag->name)); return -1; }