Skip to content

Commit

Permalink
chore: stats - name internal arg symbols to be consistent with thei…
Browse files Browse the repository at this point in the history
…r API name
  • Loading branch information
jqnatividad committed Dec 5, 2024
1 parent caaab58 commit 6fa56db
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/cmd/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 6fa56db

Please sign in to comment.