From 8e07db9156cfce885ca58b063d53674635cfc52e Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Thu, 8 Dec 2022 01:19:04 -0600 Subject: [PATCH] Minor changes --- README.md | 2 +- src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f675f4e..e8cd944 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This is made mostly due to [mnamer](https://github.com/jkwill87/mnamer) not havi The expected syntax is: -`movie_rename [--dry-run]` +`movie_rename [--dry-run] [--help]` - There needs to be a config file names movie_rename.conf in your $XDG_CONFIG_HOME. - It should consist of two lines. The first line should have your TMDb API key. - The second line should have a pattern, that will be used for the rename. diff --git a/src/main.rs b/src/main.rs index 0909bc8..e8d1267 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,6 +70,7 @@ fn main() { println!( " Default pattern is `{{title}} ({{year}}) - {{director}}`. Extension is always kept." ); + println!("Pass --help to get this again."); exit(0); }