fix: missing space in opts

This commit is contained in:
iff 2025-01-06 16:10:00 +01:00
parent 25e8f5875b
commit 3460d66aac
3 changed files with 5 additions and 3 deletions

View file

@ -43,7 +43,7 @@ pub fn opts(
let current_tag = tag(tag_name, replace_tag);
let token_tag: TokenStream2 = format!("{}{}", tag_name, replace_tag).parse().unwrap();
let command = quote! {
let #token_tag = opt_regex(#regex, &mut last_command);
let #token_tag = format!(" {}", opt_regex(#regex, &mut last_command));
};
opt_list.push(command);