[RFA, doc RFA] Add gdb.add_command_alias (now: alias foo = bar)
Tom Tromey
tromey@redhat.com
Tue Oct 4 13:33:00 GMT 2011
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> I will check this in next week if there are no objections.
No objections from me, but a nit.
Doug> + static const char usage[] = "Usage: alias [-a] [--] ALIAS = COMMAND";
Doug> +
Doug> + if (args == NULL || strchr (args, '=') == NULL)
Doug> + error (_(usage));
For this to work with gettext, the usage string itself must be wrapped
with the N_ macro.
Tom
More information about the Gdb-patches
mailing list