Skip to content

Commit d4228fe

Browse files
authored
refactor: remove extra default in max rows (#10941)
1 parent c884bdb commit d4228fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datafusion-cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ struct Args {
133133

134134
#[clap(
135135
long,
136-
help = "The max number of rows to display for 'Table' format\n[default: 40] [possible values: numbers(0/10/...), inf(no limit)]",
136+
help = "The max number of rows to display for 'Table' format\n[possible values: numbers(0/10/...), inf(no limit)]",
137137
default_value = "40"
138138
)]
139139
maxrows: MaxRows,

docs/source/user-guide/cli/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ OPTIONS:
5252

5353
--maxrows <MAXROWS>
5454
The max number of rows to display for 'Table' format
55-
[default: 40] [possible values: numbers(0/10/...), inf(no limit)]
55+
[possible values: numbers(0/10/...), inf(no limit)] [default: 40]
5656

5757
--mem-pool-type <MEM_POOL_TYPE>
5858
Specify the memory pool type 'greedy' or 'fair', default to 'greedy'

0 commit comments

Comments
 (0)