From 83bafb4d1056411b0337b56a9449970d534c3178 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Wed, 30 Nov 2022 15:43:53 +0000 Subject: [PATCH] fix: console command help messages --- src/console/commands/import_tracker_statistics.rs | 6 +----- src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/console/commands/import_tracker_statistics.rs b/src/console/commands/import_tracker_statistics.rs index f5dba839..9d60fcf2 100644 --- a/src/console/commands/import_tracker_statistics.rs +++ b/src/console/commands/import_tracker_statistics.rs @@ -43,14 +43,10 @@ fn print_usage() { eprintln!( "{} - imports torrents statistics from linked tracker. - cargo run --bin upgrade SOURCE_DB_FILE DESTINY_DB_FILE TORRENT_UPLOAD_DIR - - For example: - cargo run --bin import_tracker_statistics ", - "Upgrader".green() + "Tracker Statistics Importer".green() ); } diff --git a/src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs b/src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs index 0e18d417..0cc0ea53 100644 --- a/src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs +++ b/src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs @@ -36,7 +36,7 @@ fn print_usage() { eprintln!( "{} - migrates date from version v1.0.0 to v2.0.0. - cargo run --bin upgrade SOURCE_DB_FILE DESTINY_DB_FILE TORRENT_UPLOAD_DIR + cargo run --bin upgrade SOURCE_DB_FILE TARGET_DB_FILE TORRENT_UPLOAD_DIR For example: