summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 70cd9d6..6026f12 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -67,7 +67,10 @@ fn main() {
if let Some(matches) = matches.subcommand_matches("init") {
let config = pjournal::models::Config {
strava_client_id: matches.value_of("strava_client_id").unwrap().to_string(),
- strava_client_secret: matches.value_of("strava_client_secret").unwrap().to_string(),
+ strava_client_secret: matches
+ .value_of("strava_client_secret")
+ .unwrap()
+ .to_string(),
rocket_secret_key: matches.value_of("rocket_secret_key").unwrap().to_string(),
singleton: true,
};