-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patherror2.c
More file actions
21 lines (19 loc) · 1.09 KB
/
error2.c
File metadata and controls
21 lines (19 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* error2.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mtacnet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/08/29 13:49:56 by mtacnet #+# #+# */
/* Updated: 2017/08/29 14:00:57 by mtacnet ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
void env_error(char *bad_cmd, char *bad_flag)
{
ft_putstr_fd(bad_cmd, 2);
ft_putstr_fd(": illegal option -- ", 2);
ft_putstr_fd(bad_flag, 2);
ft_putstr_fd("\nusage: env [-i] [utility]\n", 2);
}