clean doc

This commit is contained in:
Clément DOUIN
2023-12-08 12:18:18 +01:00
parent fff11fbe20
commit ef3214f36f
52 changed files with 452 additions and 318 deletions
+8 -4
View File
@@ -1,9 +1,13 @@
use clap::Parser;
/// The table max width argument parser
/// The table max width argument parser.
#[derive(Debug, Parser)]
pub struct MaxTableWidthFlag {
/// The maximum width the table should not exceed
#[arg(long, short = 'w', value_name = "PIXELS")]
pub struct TableMaxWidthFlag {
/// The maximum width the table should not exceed.
///
/// This argument will force the table not to exceed the given
/// width in pixels. Columns may shrink with ellipsis in order to
/// fit the width.
#[arg(long, short = 'w', name = "table_max_width", value_name = "PIXELS")]
pub max_width: Option<usize>,
}