diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-03-29 15:32:52 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-03-29 15:32:52 +0200 |
commit | 091564458b53eaa1b421ca4ae801cc4ab03b2f77 (patch) | |
tree | 24b1b0c4dbd58398439f26fd76a7a3b6af06c9cd /bin/core/imag-link/src/ui.rs | |
parent | 8a9ee7a63f2b34f0d9d19c19598c75213114cf80 (diff) |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'bin/core/imag-link/src/ui.rs')
-rw-r--r-- | bin/core/imag-link/src/ui.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/core/imag-link/src/ui.rs b/bin/core/imag-link/src/ui.rs index 90aa2506..2ad63d32 100644 --- a/bin/core/imag-link/src/ui.rs +++ b/bin/core/imag-link/src/ui.rs @@ -116,6 +116,22 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> { .help("When creating links, make them directional") .requires_all(&["from", "to"])) + .arg(Arg::with_name("chain") + .long("chain") + .takes_value(false) + .required(false) + .multiple(false) + .help("When creating links for more than two entries, make a chain rather than a mesh") + .conflicts_with("mesh")) + + .arg(Arg::with_name("mesh") + .long("mesh") + .takes_value(false) + .required(false) + .multiple(false) + .help("When creating links for more than two entries, make a mesh rather than a chain") + .conflicts_with("chain")) + } /// PathProvider |