diff options
Diffstat (limited to 'crates/shirabe-symfony-console/src/command/help_command.rs')
| -rw-r--r-- | crates/shirabe-symfony-console/src/command/help_command.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/crates/shirabe-symfony-console/src/command/help_command.rs b/crates/shirabe-symfony-console/src/command/help_command.rs index 4f1447cb..2081e0e1 100644 --- a/crates/shirabe-symfony-console/src/command/help_command.rs +++ b/crates/shirabe-symfony-console/src/command/help_command.rs @@ -149,8 +149,14 @@ impl Command for HelpCommand { let mut helper = DescriptorHelper::new(); let object = DescribableObject::Command(self.command.borrow().clone().unwrap()); let mut options = indexmap::IndexMap::new(); - options.insert("format".to_string(), input.borrow().get_option("format")?); - options.insert("raw_text".to_string(), input.borrow().get_option("raw")?); + options.insert( + "format".to_string(), + input.borrow().get_option("format")?.into(), + ); + options.insert( + "raw_text".to_string(), + input.borrow().get_option("raw")?.into(), + ); helper.describe2(output.clone(), object, options)?; *self.command.borrow_mut() = None; |
