summaryrefslogtreecommitdiffstats
path: root/src/options.rs
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-07-06 14:32:07 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-07-06 14:32:07 +0800
commit464829e11f5d6d63019ec167e2e1b1b7c0061f0a (patch)
tree32a40d4297093f964747387e5e0c9229e9544ab9 /src/options.rs
parentd0c362ae0f0f7ff4d49d899591c6cbb205e6b191 (diff)
Make interactive mode optional, allow selection of backend for windows, unix
Diffstat (limited to 'src/options.rs')
-rw-r--r--src/options.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs
index 992f823..a7d7618 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -72,6 +72,7 @@ pub struct Args {
#[derive(Debug, StructOpt)]
pub enum Command {
/// Launch the terminal user interface
+ #[cfg(any(feature = "tui-unix", feature = "tui-crossplatform"))]
#[structopt(name = "interactive", visible_alias = "i")]
Interactive {
/// One or more input files or directories. If unset, we will use all entries in the current working directory.