Skip to content

Commit

Permalink
refactor: remove extra default in max rows (#10941)
Browse files Browse the repository at this point in the history
  • Loading branch information
tshauck committed Jun 17, 2024
1 parent c884bdb commit d4228fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion docs/source/user-guide/cli/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d4228fe

Please sign in to comment.