diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-04-09 22:21:41 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-04-09 22:21:41 +0200 |
commit | d4f5206f4c409f3e3121e5f58cd6301284fd197f (patch) | |
tree | ce925feabcb3b61ff0c7cbe4b51f5b3eb6c066a6 /src/parser.rs | |
parent | 9d8995a8f64d589744c57abc9201b37e1442e0fb (diff) |
Update naming of git-init to just init
Diffstat (limited to 'src/parser.rs')
-rw-r--r-- | src/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.rs b/src/parser.rs index fd8ab75..14b1a49 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -14,7 +14,7 @@ pub enum ShackleCommand { /// List all repositories available List, SetDescription(SetDescriptionArgs), - GitInit(GitInitArgs), + Init(InitArgs), GitUploadPack(GitUploadPackArgs), GitReceivePack(GitReceivePackArgs), } @@ -26,7 +26,7 @@ pub struct SetDescriptionArgs { } #[derive(Parser, Clone, Debug, PartialEq, Eq)] -pub struct GitInitArgs { +pub struct InitArgs { #[arg(long)] pub group: Option<String>, #[arg(long)] |