This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Add "inf" alias for "info"


Pedro Alves wrote:
On Wednesday 08 July 2009 14:18:12, Pierre Muller wrote:
  I was used to use
(gdb) inf reg
to get a listing of registers,
but since the new "inferior" command appeared,
I now get this:
(gdb) inf reg
Ambiguous command "inf reg": inferior, info.

The proposed patch add "inf" as an alias
of "info", saving the hassle of retyping "info"
after the message above.

Why not type just "i"? It is already an alias for "info", and, it's shorter anyway ==> less hassle.

Because his fingers remember typing "inf". ;-)


I think we've been through this before, and the custom
has generally favored adding the alias.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]