mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-08 13:58:50 +08:00
Add cond compile for some command line arguments
This commit is contained in:
@@ -57,6 +57,7 @@ pub struct Arg {
|
||||
)]
|
||||
/// Archive code page
|
||||
pub archive_code_page: Option<u32>,
|
||||
#[cfg(feature = "circus")]
|
||||
#[arg(long, value_enum, global = true)]
|
||||
/// Circus Game
|
||||
pub circus_mes_type: Option<CircusMesType>,
|
||||
@@ -66,6 +67,7 @@ pub struct Arg {
|
||||
#[arg(global = true, action = ArgAction::SetTrue, short, long)]
|
||||
/// Print backtrace on error
|
||||
pub backtrace: bool,
|
||||
#[cfg(feature = "escude-arc")]
|
||||
#[arg(long, action = ArgAction::SetTrue, global = true)]
|
||||
/// Whether to use fake compression for Escude archive
|
||||
pub escude_fake_compress: bool,
|
||||
|
||||
Reference in New Issue
Block a user