Add note to ln.c

This commit is contained in:
call-cc 2020-06-02 16:20:12 -04:00
parent bdbe212df7
commit c68d449e94
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
/* TODO -s flag */
int int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
@ -14,6 +12,7 @@ main(int argc, char *argv[])
} }
int opts; int opts;
int fd; int fd;
/* I am aware that this doesn't conform to style, but it's the only option that actually works */
while((opts = getopt(argc, argv, "s:")) != -1) while((opts = getopt(argc, argv, "s:")) != -1)
{ {
switch(opts) switch(opts)