diff options
Diffstat (limited to 'src/f_fail.c')
-rw-r--r-- | src/f_fail.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/f_fail.c b/src/f_fail.c index 7b48b03..d7ac4c4 100644 --- a/src/f_fail.c +++ b/src/f_fail.c @@ -39,3 +39,9 @@ void f_fail_too_many_args(const char concern[], t_msh *msh) { f_write_fail(concern, F_TOO_MANY_ARGS, msh); } + +void f_fail_non_numeric_arg(const char concern[], char *arg) +{ + ft_dprintf(STDERR_FILENO, + "minishell: %s: `%s': numerical argument required\n", concern, arg); +} |