diff options
| author | diogo464 <[email protected]> | 2021-10-30 21:09:56 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-30 21:09:56 +0100 |
| commit | 89daa500b322f98436abb09a80c1a4e0b3c96a2e (patch) | |
| tree | ee905efee3761f2cf3f8efdae52d159f25b2511d /dotup_cli/src/commands/init.rs | |
| parent | 450ec8fbae076543d8ccc2d363613f0ae778a01d (diff) | |
| parent | 3b4b9aa6bc041f1e24761e94b1c052ad20f9ca66 (diff) | |
Merge pull request #11 from diogo464/dependabot/cargo/clap-3.0.0-beta.5
Bump clap from 3.0.0-beta.2 to 3.0.0-beta.5
Diffstat (limited to 'dotup_cli/src/commands/init.rs')
| -rw-r--r-- | dotup_cli/src/commands/init.rs | 3 |
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)] | ||
| 9 | pub struct Opts {} | 8 | pub struct Opts {} |
| 10 | 9 | ||
| 11 | pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { | 10 | pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { |
