diff options
| author | diogo464 <[email protected]> | 2021-10-30 20:55:22 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2021-10-30 21:07:00 +0100 |
| commit | 3b4b9aa6bc041f1e24761e94b1c052ad20f9ca66 (patch) | |
| tree | 3ddd456c76fef336bbb4148e38f5e9ac214a1bd1 /dotup_cli/src/commands/link.rs | |
| parent | 35ea23dad9071078ea302e52ff7c51482e657714 (diff) | |
update to compile with new clap version
Diffstat (limited to 'dotup_cli/src/commands/link.rs')
| -rw-r--r-- | dotup_cli/src/commands/link.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dotup_cli/src/commands/link.rs b/dotup_cli/src/commands/link.rs index 66194e1..d1f61ea 100644 --- a/dotup_cli/src/commands/link.rs +++ b/dotup_cli/src/commands/link.rs | |||
| @@ -10,8 +10,7 @@ use super::prelude::*; | |||
| 10 | /// If a link is created for a file that already had a link then the old link will be overwritten. | 10 | /// If a link is created for a file that already had a link then the old link will be overwritten. |
| 11 | /// By default creating a link to a directory will recursively link all files under that | 11 | /// By default creating a link to a directory will recursively link all files under that |
| 12 | /// directory, to actually link a directory use the --directory flag. | 12 | /// directory, to actually link a directory use the --directory flag. |
| 13 | #[derive(Clap)] | 13 | #[derive(Parser)] |
| 14 | #[clap(setting = AppSettings::ColoredHelp)] | ||
| 15 | pub struct Opts { | 14 | pub struct Opts { |
| 16 | /// Treats the paths as directories. This will create links to the actual directories instead | 15 | /// Treats the paths as directories. This will create links to the actual directories instead |
| 17 | /// of recursively linking all files under them. | 16 | /// of recursively linking all files under them. |
