mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-10 12:09:33 +01:00
fix: repo create
should not take RepoArg
for name argument
This commit is contained in:
parent
121be52f37
commit
e77e978629
1 changed files with 2 additions and 2 deletions
|
@ -289,7 +289,7 @@ impl std::fmt::Display for RepoArgError {
|
|||
#[derive(Subcommand, Clone, Debug)]
|
||||
pub enum RepoCommand {
|
||||
Create {
|
||||
repo: RepoArg,
|
||||
repo: String,
|
||||
|
||||
// flags
|
||||
#[clap(long, short)]
|
||||
|
@ -361,7 +361,7 @@ impl RepoCommand {
|
|||
gitignores: None,
|
||||
issue_labels: None,
|
||||
license: None,
|
||||
name: format!("{}/{}", repo.owner, repo.name),
|
||||
name: repo,
|
||||
object_format_name: None,
|
||||
private: Some(private),
|
||||
readme: Some(String::new()),
|
||||
|
|
Loading…
Reference in a new issue