This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add "inf" alias for "info"
On Wednesday 08 July 2009 14:28:05, Pierre Muller wrote:
> > > ? 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.
>
> ? No really good reasons but,
> I used "inf " for years and didn't know "i " worked,
> I discovered it while writing the patch!
> ? But I am too used to "inf " to be able to switch to "i "
> easily!
I'm sure that you'll now get used to "i" in no time, now
that you know it.
This revealed an interesting issue. The
'Ambiguous command "inf reg": inferior, info.'
... message doesn't indicate the aliases of each alternative
command. Neither does "help info" mention "i". Maybe it should.
(btw, "i" + "inf" would leave "in" in a weird spot)
--
Pedro Alves