search for: b98faf0

Displaying 1 result from an estimated 1 matches for "b98faf0".

2010 Jun 01
1
[PATCH] fish: help command return error for non-existent commands (RHBZ#597145).
...")); - else + return 0; + } + else { fprintf (stderr, _("%s: command not known, use -h to list all commands\n"), cmd); + return -1; + } } /* This is printed when the user types in an unknown command for the diff --git a/fish/fish.h b/fish/fish.h index b98faf0..9f64979 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -55,7 +55,7 @@ extern int command_num; extern int issue_command (const char *cmd, char *argv[], const char *pipe); extern void pod2text (const char *name, const char *shortdesc, const char *body); extern void list_builtin_commands (void); -e...