From 6fa56dba0ba987c54be443bd943c0cefd1286d25 Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Thu, 5 Dec 2024 05:43:27 -0500 Subject: [PATCH] chore: `stats` - name internal arg symbols to be consistent with their API name --- src/cmd/stats.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cmd/stats.rs b/src/cmd/stats.rs index 7b8c6f689..be4004078 100644 --- a/src/cmd/stats.rs +++ b/src/cmd/stats.rs @@ -1196,14 +1196,14 @@ impl Args { ]); // these are the stats columns that are only output if the user requested them - let all = self.flag_everything; - if self.flag_median && !self.flag_quartiles && !all { + let everything = self.flag_everything; + if self.flag_median && !self.flag_quartiles && !everything { fields.push("median"); } - if self.flag_mad || all { + if self.flag_mad || everything { fields.push("mad"); } - if self.flag_quartiles || all { + if self.flag_quartiles || everything { fields.extend_from_slice(&[ "lower_outer_fence", "lower_inner_fence", @@ -1216,10 +1216,10 @@ impl Args { "skewness", ]); } - if self.flag_cardinality || all { + if self.flag_cardinality || everything { fields.push("cardinality"); } - if self.flag_mode || all { + if self.flag_mode || everything { fields.extend_from_slice(&[ "mode", "mode_count",