summaryrefslogtreecommitdiff
path: root/command/tee.c
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-05-12 18:35:41 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-05-12 18:35:41 -0400
commitc68d7136feaa17f2ddfd4d56a325aeae8f8eec96 (patch)
tree32d3a2ac655b1a0a16ef6549c117b0fbf4106797 /command/tee.c
parentchown, chmod (diff)
downloadlazysphere-c68d7136feaa17f2ddfd4d56a325aeae8f8eec96.tar.gz
lazysphere-c68d7136feaa17f2ddfd4d56a325aeae8f8eec96.tar.bz2
lazysphere-c68d7136feaa17f2ddfd4d56a325aeae8f8eec96.zip
sync
Diffstat (limited to '')
-rw-r--r--command/tee.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/command/tee.c b/command/tee.c
index 0462517..364a13d 100644
--- a/command/tee.c
+++ b/command/tee.c
@@ -12,8 +12,8 @@ static struct {
static void help(void) {
printf("Usage: tee [-ai] [FILE]...\n\n");
printf("Copy stdin to each FILE, and also to stdout\n\n");
- printf("\t-a Append to the given FILEs, don't overwrite\n");
- printf("\t-i Ignore interrupt signals (SIGINT)\n");
+ printf("\t-a\tAppend to the given FILEs, don't overwrite\n");
+ printf("\t-i\tIgnore interrupt signals (SIGINT)\n");
exit(EXIT_SUCCESS);
}
@@ -52,7 +52,7 @@ static int short_arg(char c, char* next) {
return ARG_UNUSED;
}
-COMMAND(tee) {
+COMMAND(tee_cmd) {
int start, i;
FILE** files;