aboutsummaryrefslogtreecommitdiff
path: root/dotup_cli/src/commands/init.rs
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2021-10-30 20:55:22 +0100
committerdiogo464 <[email protected]>2021-10-30 21:07:00 +0100
commit3b4b9aa6bc041f1e24761e94b1c052ad20f9ca66 (patch)
tree3ddd456c76fef336bbb4148e38f5e9ac214a1bd1 /dotup_cli/src/commands/init.rs
parent35ea23dad9071078ea302e52ff7c51482e657714 (diff)
update to compile with new clap version
Diffstat (limited to 'dotup_cli/src/commands/init.rs')
-rw-r--r--dotup_cli/src/commands/init.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/dotup_cli/src/commands/init.rs b/dotup_cli/src/commands/init.rs
index b894924..45129bf 100644
--- a/dotup_cli/src/commands/init.rs
+++ b/dotup_cli/src/commands/init.rs
@@ -4,8 +4,7 @@ use super::prelude::*;
4/// 4///
5/// By default this will create the file in the current directory 5/// By default this will create the file in the current directory
6/// but the --depot flag can be used to change this path. 6/// but the --depot flag can be used to change this path.
7#[derive(Clap)] 7#[derive(Parser)]
8#[clap(setting = AppSettings::ColoredHelp)]
9pub struct Opts {} 8pub struct Opts {}
10 9
11pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { 10pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> {