mirror of
https://git.2ki.xyz/spiders/kijetesantakaluotokieni.git
synced 2025-05-15 20:15:30 +02:00
added the wrap distance and no wrap options
This commit is contained in:
parent
b393dcfa3f
commit
3465856e76
2 changed files with 8 additions and 9 deletions
|
@ -51,8 +51,8 @@ struct Args {
|
|||
#[clap(short = 'f', long)]
|
||||
nimi: Option<String>,
|
||||
|
||||
#[clap(short = 'W', long)]
|
||||
pakala: Option<String>,
|
||||
#[clap(short = 'W', long, default_value = "40")]
|
||||
pakala: usize,
|
||||
|
||||
#[clap(short = 'n', long)]
|
||||
pakala_ala: bool,
|
||||
|
@ -191,7 +191,7 @@ impl Args {
|
|||
CritterConfig::config_from_string(&eyes, &tongue, &line, &object, &Some(format), &name);
|
||||
let bubble_config = BubbleConfig::config_from_string(
|
||||
critter_config.template.anchor,
|
||||
DEFAULT_MAXIMUM_LINE_LENGTH,
|
||||
self.pakala,
|
||||
self.pakala_ala,
|
||||
None,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue