From 6357886514d10307fbc749a7d90f65d5c1b5ec73 Mon Sep 17 00:00:00 2001 From: Trent Hauck Date: Sun, 16 Jun 2024 18:54:11 -0700 Subject: [PATCH] refactor: remove extra default in max rows (#10941) --- datafusion-cli/src/main.rs | 2 +- docs/source/user-guide/cli/usage.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion-cli/src/main.rs b/datafusion-cli/src/main.rs index 187f856894b2..f2b29fe78690 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 617b462875c7..6a620fc69252 100644 --- a/docs/source/user-guide/cli/usage.md +++ b/docs/source/user-guide/cli/usage.md @@ -52,7 +52,7 @@ OPTIONS: --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 Specify the memory pool type 'greedy' or 'fair', default to 'greedy'