diff options
| author | Marcin Puc <5671049+tranzystorek-io@users.noreply.github.com> | 2022-01-23 20:59:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-23 20:59:03 +0100 |
| commit | e58b67ce2ed839dd8cbd2dadabc6e092b0e0b96a (patch) | |
| tree | e7f4597ed4832cf655691dffdb92a9c32b9407a3 /src | |
| parent | doc(config): add copy-command examples to default config (PR #996) (#1019) (diff) | |
| download | sl0ppij-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.rs | 4 |
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(); |
