aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcin Puc <5671049+tranzystorek-io@users.noreply.github.com>2022-01-23 20:59:03 +0100
committerGitHub <noreply@github.com>2022-01-23 20:59:03 +0100
commite58b67ce2ed839dd8cbd2dadabc6e092b0e0b96a (patch)
treee7f4597ed4832cf655691dffdb92a9c32b9407a3 /src
parentdoc(config): add copy-command examples to default config (PR #996) (#1019) (diff)
downloadsl0ppij-e58b67ce2ed839dd8cbd2dadabc6e092b0e0b96a.tar.gz
sl0ppij-e58b67ce2ed839dd8cbd2dadabc6e092b0e0b96a.tar.xz
sl0ppij-e58b67ce2ed839dd8cbd2dadabc6e092b0e0b96a.zip
chore(deps): update arg parsing to clap v3 (#1017)
* Update arg parsing to clap v3 * Ignore shell argument case
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index f4b8aa05..98b27581 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -5,14 +5,14 @@ mod sessions;
mod tests;
use zellij_utils::{
+ clap::Parser,
cli::{CliArgs, Command, Sessions},
logging::*,
- structopt::StructOpt,
};
fn main() {
configure_logger();
- let opts = CliArgs::from_args();
+ let opts = CliArgs::parse();
if let Some(Command::Sessions(Sessions::ListSessions)) = opts.command {
commands::list_sessions();