mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
clean doc
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user