diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -21,7 +21,7 @@ int main (ARGUMENTS) { if (argc < 2) { printf("usage: lazysphere [function [arguments]...]\n\n"); printf("currently defined functions:\n"); - printf("\tdd, cat, yes, echo, printf, id, groups, ls, tail, head, ed, tee, true, false, tee, whoami, wc, xargs\n"); + printf("\tdd, cat, yes, echo, printf, id, groups, ls, tail, head, ed, tee, true, false, tee, whoami, wc, xargs, tac\n"); return EXIT_SUCCESS; } argc--; @@ -70,6 +70,8 @@ int main (ARGUMENTS) { return wc(NEXT_ARGS); } else if (streql(cmd, "xargs")) { return xargs(NEXT_ARGS); + } else if (streql(cmd, "tac")) { + return tac(NEXT_ARGS); } else { error("error: invalid command %s", cmd); } |