Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(CLI): escape subcommand descriptions
Otherwise, we could have had invalid rust strings. [skip ci]
- Loading branch information
fac5041
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also use raw string literals (
r#"Some "fancy" description"#
) instead.fac5041
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, good point ! I wasn't aware of their existence at all.
Also I believe it's the better solution, as it should protect other, unusual cases by default.
Will be improved via #100.