Flags should no longer be files
This commit is contained in:
parent
35a7640155
commit
236146fa5a
1 changed files with 3 additions and 3 deletions
6
tee.c
6
tee.c
|
@ -26,9 +26,9 @@ int main(int argc, char * argv[]) {
|
|||
}
|
||||
}
|
||||
|
||||
while(strcmp("-a", argv[start_arg]) == 0 &&
|
||||
strcmp("-i", argv[start_arg]) == 0 &&
|
||||
strcmp("-ai", argv[start_arg]) == 0 &&
|
||||
while(strcmp("-a", argv[start_arg]) == 0 ||
|
||||
strcmp("-i", argv[start_arg]) == 0 ||
|
||||
strcmp("-ai", argv[start_arg]) == 0 ||
|
||||
strcmp("-ia", argv[start_arg]) == 0) {
|
||||
start_arg++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue