removed unnecessary field in Config struct

This commit is contained in:
DustInDark
2022-06-15 03:28:16 +09:00
parent 338e1fdb17
commit a0de17f53f

View File

@@ -31,7 +31,6 @@ lazy_static! {
#[derive(Clone)] #[derive(Clone)]
pub struct ConfigReader<'a> { pub struct ConfigReader<'a> {
pub cmd: Command<'a>,
pub args: ArgMatches, pub args: ArgMatches,
pub headless_help: String, pub headless_help: String,
pub folder_path: String, pub folder_path: String,
@@ -289,7 +288,6 @@ OPTIONS:
let headless_help = format!("{}{}", app_str, custom_usage_and_opt); let headless_help = format!("{}{}", app_str, custom_usage_and_opt);
let folder_path = arg.value_of("config").unwrap().to_string(); let folder_path = arg.value_of("config").unwrap().to_string();
ConfigReader { ConfigReader {
cmd: build_cmd,
args: arg, args: arg,
headless_help, headless_help,
folder_path, folder_path,