summaryrefslogtreecommitdiff
path: root/src/cmd/show_config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/show_config.rs')
-rw-r--r--src/cmd/show_config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/show_config.rs b/src/cmd/show_config.rs
index 424e2ed..05e83c1 100644
--- a/src/cmd/show_config.rs
+++ b/src/cmd/show_config.rs
@@ -7,7 +7,7 @@ pub struct ShowConfig {}
impl ShowConfig {
pub fn run(&self, config: &ClientConfig) -> Result<(), ObnamError> {
- println!("{}", serde_json::to_string_pretty(&config.config())?);
+ println!("{}", serde_json::to_string_pretty(config)?);
Ok(())
}
}