Skip to content

Commit

Permalink
fix: console command help messages
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Nov 30, 2022
1 parent 34cc8f5 commit 83bafb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions src/console/commands/import_tracker_statistics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 83bafb4

Please sign in to comment.