diff options
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 |