Skip to content

Commit 9303e9f

Browse files
committed
update
1 parent 705de89 commit 9303e9f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

kc

3.27 KB
Binary file not shown.

kc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ print_palette(void)
150150
int
151151
main(int argc, char **argv)
152152
{
153+
if (argc == 1)
154+
{
155+
fprintf(stderr, "No argumemts provided\n");
156+
exit(2);
157+
}
153158
extern char *optarg;
154159
extern int optind, optopt;
155160
p.MODE = "dark";

0 commit comments

Comments
 (0)