From 3ffc6cf42027a2b1733af19e295ca4081a74b41b Mon Sep 17 00:00:00 2001 From: Thomas Knudsen Date: Thu, 10 Aug 2023 02:43:18 +0200 Subject: [PATCH] kp: inv + roundtrip OK --- src/bin/kp.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/bin/kp.rs b/src/bin/kp.rs index 64f05e9..8c69809 100644 --- a/src/bin/kp.rs +++ b/src/bin/kp.rs @@ -1,4 +1,3 @@ -use anyhow::bail; use clap::Parser; use geodesy::prelude::*; use log::{info, trace}; // debug, error, warn: not used @@ -65,10 +64,6 @@ fn main() -> Result<(), anyhow::Error> { log::trace!("This is KP"); - if options.inverse && options.roundtrip { - bail!("Options `inverse` and `roundtrip` are mutually exclusive"); - } - if options.debug { eprintln!("args: {:?}", options.args); if let Some(dir) = dirs::data_local_dir() {