add: write

This commit is contained in:
2023-08-02 17:36:03 +02:00
parent 1f1a11f886
commit 4e15cb9ff1
2 changed files with 30 additions and 0 deletions

View File

@ -170,6 +170,8 @@ main()
cmd_delete(data, NULL);
else if (strcmp(cmd, "h") == 0)
cmd_help(data, NULL);
else if (strcmp(cmd, "w") == 0)
cmd_write(data, NULL);
else
error(data, "cmd not foud");
free(cmd);