From a0b2b9e7e5142d91cd62a9c55a8158d6ba518483 Mon Sep 17 00:00:00 2001 From: Jason Thompson Date: Tue, 6 Aug 2024 23:21:00 -0400 Subject: [PATCH] Fix help parameter for new comment command flag. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index abd883c..d104064 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,7 +70,6 @@ struct Opts { preserve_mtime: bool, #[options( - help = "Comment strategy (one of: keep-unchanged or remove)", no_short, help = "Convert soft line breaks to hard line breaks. This mimics Obsidian's 'Strict line breaks' setting", default = "false" @@ -79,6 +78,7 @@ struct Opts { #[options( no_short, + help = "Comment strategy (one of: keep-unchanged or remove)", long = "comments", parse(try_from_str = "comment_strategy_from_str"), default = "keep-unchanged"