From 8cee6dc98b1aa2306c472f9b54c9919804b070b5 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 18 Jun 2025 19:58:25 -0400 Subject: [PATCH] docs: Fix copy+paste lies. --- docs/usage.md | 6 +++--- src/main.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 4d647779..a19bad88 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -135,7 +135,7 @@ options: ``` -out/debug/tildefriends get_sequence [options] +out/debug/tildefriends create_invite [options] options: -d, --db-path db_path SQLite database path (default: /home/cory/.local/share/tildefriends/db.sqlite). @@ -210,7 +210,7 @@ options: ``` -out/debug/tildefriends store_blob [options] +out/debug/tildefriends get_blob [options] options: -d, --db-path db_path SQLite database path (default: /home/cory/.local/share/tildefriends/db.sqlite). @@ -235,7 +235,7 @@ options: ``` -out/debug/tildefriends import [options] [paths...] +out/debug/tildefriends verify [options] options: -i, --identity identity Identity to verify. diff --git a/src/main.c b/src/main.c index 22072791..cb2b0e41 100644 --- a/src/main.c +++ b/src/main.c @@ -825,7 +825,7 @@ static int _tf_command_get_blob(const char* file, int argc, char* argv[]) if (show_usage || !blob_id) { - tf_printf("\n%s store_blob [options]\n\n", file); + tf_printf("\n%s get_blob [options]\n\n", file); tf_printf("options:\n"); tf_printf(" -d, --db-path db_path SQLite database path (default: %s).\n", default_db_path); tf_printf(" -b, --blob blob_id Blob identifier to retrieve.\n"); @@ -1005,7 +1005,7 @@ static int _tf_command_create_invite(const char* file, int argc, char* argv[]) if (show_usage || !identity || !use_count || !expires || !host || !port) { - tf_printf("\n%s get_sequence [options]\n\n", file); + tf_printf("\n%s create_invite [options]\n\n", file); tf_printf("options:\n"); tf_printf(" -d, --db-path db_path SQLite database path (default: %s).\n", default_db_path); tf_printf(" -i, --identity identity Account from which to get latest sequence number.\n"); @@ -1343,7 +1343,7 @@ static int _tf_command_verify(const char* file, int argc, char* argv[]) if (show_usage) { - tf_printf("\n%s import [options] [paths...]\n\n", file); + tf_printf("\n%s verify [options]\n\n", file); tf_printf("options:\n"); tf_printf(" -i, --identity identity Identity to verify.\n"); tf_printf(" -s, --sequence sequence Sequence number to debug.\n");