diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-01 21:35:53 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-01 21:35:53 +0100 |
commit | 314f8f2c501322717c247fe512093a894244b702 (patch) | |
tree | 7542a204ffd719f639624f33cfa079063fc98e8c /src/f_fail.c | |
parent | commit (diff) | |
download | 42-minishell-314f8f2c501322717c247fe512093a894244b702.tar.gz 42-minishell-314f8f2c501322717c247fe512093a894244b702.tar.bz2 42-minishell-314f8f2c501322717c247fe512093a894244b702.tar.xz 42-minishell-314f8f2c501322717c247fe512093a894244b702.tar.zst 42-minishell-314f8f2c501322717c247fe512093a894244b702.zip |
Merged shotgunfixes
Diffstat (limited to '')
-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); +} |