summaryrefslogtreecommitdiffstats
path: root/src/ft_m_argv.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-25 17:47:31 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-25 17:47:31 +0200
commit67ea80f5be8c44a0d7b06462677b577c62c73e8d (patch)
tree95c1e3c2188fc7495a766c77da1baa0fdf561456 /src/ft_m_argv.c
parentNow handles -c option (diff)
download42-minishell-67ea80f5be8c44a0d7b06462677b577c62c73e8d.tar.gz
42-minishell-67ea80f5be8c44a0d7b06462677b577c62c73e8d.tar.bz2
42-minishell-67ea80f5be8c44a0d7b06462677b577c62c73e8d.tar.xz
42-minishell-67ea80f5be8c44a0d7b06462677b577c62c73e8d.tar.zst
42-minishell-67ea80f5be8c44a0d7b06462677b577c62c73e8d.zip
Bug fix
Diffstat (limited to '')
-rw-r--r--src/ft_m_argv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_m_argv.c b/src/ft_m_argv.c
index 389fbe7..684d396 100644
--- a/src/ft_m_argv.c
+++ b/src/ft_m_argv.c
@@ -33,7 +33,7 @@ uint8_t
{
if (*(argv + 2) == NULL)
{
- ft_dprintf(2, "%s: %s: option requires an argument",
+ ft_dprintf(2, "%s: %s: option requires an argument\n",
msh->shname, FT_OPT_COMMAND);
return (2);
}