Re: [RFA/code+NEWS] new "set/show serial baud" command

Pedro Alves
2013-10-09T08:31:24Z

On 10/09/2013 04:57 AM, Joel Brobecker wrote:
>> + /* The commands "set/show serial baud" used to have a different name.
>> + Add aliases to those names to facilitate the transition. */
>> + add_alias_cmd ("remotebaud", "serial baud", no_class, 0, &setlist);
>> + add_alias_cmd ("remotebaud", "serial baud", no_class, 0, &showlist);
>>
>> Does the mark-as-deprecated machinery work here?
>
> It should. I just wasn't sure at the time I wrote the patch that
> we actually wanted to deprecate the commands. Since Tom proposed it
> as well, if there are no objection from others, I will do so, and
> update the NEWS entry accordingly (as well as add this entry for
> post 7.6 branch).

I also think the old ones should be marked deprecated.

--
Pedro Alves