Skip to content

Apache DataFusion SQL Query Engine

refactor: remove extra default in max rows (#10941)

Trent Hauckd4228feca341
diff --git a/datafusion-cli/src/main.rs b/datafusion-cli/src/main.rs
index 187f856894..f2b29fe786 100644
--- a/datafusion-cli/src/main.rs
+++ b/datafusion-cli/src/main.rs
@@ -133,7 +133,7 @@ struct Args {
#[clap(
long,
- help = "The max number of rows to display for 'Table' format\n[default: 40] [possible values: numbers(0/10/...), inf(no limit)]",
+ help = "The max number of rows to display for 'Table' format\n[possible values: numbers(0/10/...), inf(no limit)]",
default_value = "40"
)]
maxrows: MaxRows,
diff --git a/docs/source/user-guide/cli/usage.md b/docs/source/user-guide/cli/usage.md
index 617b462875..6a620fc692 100644
--- a/docs/source/user-guide/cli/usage.md
+++ b/docs/source/user-guide/cli/usage.md
@@ -52,7 +52,7 @@ OPTIONS:
--maxrows <MAXROWS>
The max number of rows to display for 'Table' format
- [default: 40] [possible values: numbers(0/10/...), inf(no limit)]
+ [possible values: numbers(0/10/...), inf(no limit)] [default: 40]
--mem-pool-type <MEM_POOL_TYPE>
Specify the memory pool type 'greedy' or 'fair', default to 'greedy'