update wording to metrics
This commit is contained in:
@@ -188,7 +188,7 @@ pub struct Config {
|
||||
#[clap(help_heading = Some("ADVANCED"), short, long = "thread-number", value_name = "NUMBER")]
|
||||
pub thread_number: Option<usize>,
|
||||
|
||||
/// Print metrics of event IDs
|
||||
/// Print event ID metrics
|
||||
#[clap(help_heading = Some("OTHER-ACTIONS"), short='M', long)]
|
||||
pub metrics: bool,
|
||||
|
||||
@@ -266,11 +266,11 @@ impl ConfigReader<'_> {
|
||||
args: parse.clone(),
|
||||
headless_help: String::default(),
|
||||
event_timeline_config: load_eventcode_info(
|
||||
utils::check_setting_path(&parse.config, "statistics_event_info.txt", false)
|
||||
utils::check_setting_path(&parse.config, "event_id_info.txt", false)
|
||||
.unwrap_or_else(|| {
|
||||
utils::check_setting_path(
|
||||
&CURRENT_EXE_PATH.to_path_buf(),
|
||||
"rules/config/statistics_event_info.txt",
|
||||
"rules/config/event_id_info.txt",
|
||||
true,
|
||||
)
|
||||
.unwrap()
|
||||
@@ -581,7 +581,7 @@ fn load_eventcode_info(path: &str) -> EventInfoConfig {
|
||||
return config;
|
||||
}
|
||||
|
||||
// statistics_event_infoが読み込めなかったらエラーで終了とする。
|
||||
// event_id_info.txtが読み込めなかったらエラーで終了とする。
|
||||
read_result.unwrap().into_iter().for_each(|line| {
|
||||
if line.len() != 2 {
|
||||
return;
|
||||
|
||||
@@ -410,7 +410,7 @@ pub fn check_rule_config() -> Result<(), String> {
|
||||
"target_event_IDs.txt",
|
||||
"default_details.txt",
|
||||
"level_tuning.txt",
|
||||
"statistics_event_info.txt",
|
||||
"event_id_info.txt",
|
||||
"eventkey_alias.txt",
|
||||
];
|
||||
let mut not_exist_file = vec![];
|
||||
|
||||
@@ -197,7 +197,7 @@ impl App {
|
||||
write_color_buffer(
|
||||
&BufferWriter::stdout(ColorChoice::Always),
|
||||
None,
|
||||
"Generating Event ID Statistics",
|
||||
"Generating Event ID Metrics",
|
||||
true,
|
||||
)
|
||||
.ok();
|
||||
|
||||
@@ -98,7 +98,7 @@ impl Timeline {
|
||||
.event_timeline_config
|
||||
.get_event_id(*event_id)
|
||||
.is_some();
|
||||
// statistics_event_info.txtに登録あるものは情報設定
|
||||
// event_id_info.txtに登録あるものは情報設定
|
||||
if conf {
|
||||
// 出力メッセージ1行作成
|
||||
msges.push(format!(
|
||||
|
||||
Reference in New Issue
Block a user