summaryrefslogtreecommitdiffstats
path: root/src/ft_d_define.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 18:34:29 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 18:34:29 +0200
commit92c184c047323fb557d98c4d7e7c884e474c762e (patch)
tree8dc8b78b812b93aaeffc19d0dbbfa1bee24484f3 /src/ft_d_define.h
parentMessy echo (diff)
download42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.tar.gz
42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.tar.bz2
42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.tar.xz
42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.tar.zst
42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.zip
Builtin exit is bav
Diffstat (limited to 'src/ft_d_define.h')
-rw-r--r--src/ft_d_define.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ft_d_define.h b/src/ft_d_define.h
index e5ef970..2a8002d 100644
--- a/src/ft_d_define.h
+++ b/src/ft_d_define.h
@@ -20,14 +20,15 @@
*/
#define FT_PS_ONE "minishell ~> "
-#define FT_BUILTINS "echo|cd|pwd|export|unset|env|exit|cat"
-#define FT_BUILTINS_COUNT 8
+#define FT_BUILTINS "echo|cd|pwd|export|unset|env|exit"
+#define FT_BUILTINS_COUNT 7
/*
** ====== FAIL MSG ======
*/
-#define FT_FAIL_ALLOC "failed to allocate memory"
-#define FT_FAIL_NO_OPTIONS "no options required"
+#define FT_FAIL_ALLOC "failed to allocate memory"
+#define FT_FAIL_NO_OPTIONS "no options required"
+#define FT_FAIL_TOO_MANY_ARGS "too many arguments"
#endif