···11fn help() {
22- println!("Help: tangled-on-commit
22+ println!(
33+ "Help: tangled-on-commit
34Listen for commits on a specified repository and execute a shell command.
4556CLI Arguments:
···3233 Loads the environment variables `TANGLED_ON_COMMIT_HANDLE` and `TANGLED_ON_COMMIT_REPO_NAME`
3334 Shell cannot be set by environment variables.
3435 Env variables are used if relevant keys are ommitted an arguments aren't passed to the CLI.
3535-")
3636+"
3737+ )
3638}
37393840#[derive(Debug)]
···198200 // couldnt resolve every value
199201 // print an error and quit
200202 println!("Unable to find a value for every setting. Missing values for:");
201201- if handle.is_none() {println!("- handle");}
202202- if repo_name.is_none() {println!("- repo_name");}
203203- if shell.is_none() {println!("- shell");}
203203+ if handle.is_none() {
204204+ println!("- handle");
205205+ }
206206+ if repo_name.is_none() {
207207+ println!("- repo_name");
208208+ }
209209+ if shell.is_none() {
210210+ println!("- shell");
211211+ }
204212 println!("\nRun `tangled-on-commit --help` to see the help message");
205213 return Err(());
206214}