summaryrefslogtreecommitdiff
path: root/src/commands/tee.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/tee.c')
-rw-r--r--src/commands/tee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/tee.c b/src/commands/tee.c
index ced5b06..652e369 100644
--- a/src/commands/tee.c
+++ b/src/commands/tee.c
@@ -41,7 +41,7 @@ static int short_arg(char c, char* next) {
flags.handle_sigint = true;
break;
default:
- error("error: unkown option: %c", c);
+ return ARG_INVALID;
}
return ARG_UNUSED;
}