mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-07 21:38:58 +08:00
Add llm trans mark support for m3t files
This commit is contained in:
@@ -394,6 +394,10 @@ pub struct Arg {
|
||||
#[arg(short = 'L', long, global = true, default_value_t = 5, value_parser = parse_flac_compression_level)]
|
||||
/// FLAC compression level for output FLAC audio files. 0 means fastest compression, 8 means best compression.
|
||||
pub flac_compression_level: u32,
|
||||
#[arg(long, global = true)]
|
||||
/// Add a mark to the end of each message for LLM translation.
|
||||
/// Only works on m3t format.
|
||||
pub llm_trans_mark: Option<String>,
|
||||
#[command(subcommand)]
|
||||
/// Command
|
||||
pub command: Command,
|
||||
|
||||
Reference in New Issue
Block a user