mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
-options can now be completed with tabulator. There's also automatic
completion for them, like instead of /join -invite you can use just /join -i. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@385 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6757207328
commit
c248de0eca
6 changed files with 116 additions and 24 deletions
|
|
@ -314,10 +314,13 @@ static void event_cmderror(gpointer errorp, const char *arg)
|
|||
printtext(NULL, NULL, MSGLEVEL_CLIENTERROR, g_strerror(errno));
|
||||
break;
|
||||
case CMDERR_OPTION_UNKNOWN:
|
||||
printtext(NULL, NULL, MSGLEVEL_CLIENTERROR, "Unknown argument: %s", arg);
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR, IRCTXT_OPTION_UNKNOWN, arg);
|
||||
break;
|
||||
case CMDERR_OPTION_AMBIGUOUS:
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR, IRCTXT_OPTION_AMBIGUOUS, arg);
|
||||
break;
|
||||
case CMDERR_OPTION_ARG_MISSING:
|
||||
printtext(NULL, NULL, MSGLEVEL_CLIENTERROR, "Missing required argument for: %s", arg);
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR, IRCTXT_OPTION_MISSING_ARG, arg);
|
||||
break;
|
||||
default:
|
||||
printtext(NULL, NULL, MSGLEVEL_CLIENTERROR, ret_texts[error]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue