minor fix
This commit is contained in:
parent
e6e8d72428
commit
2ff8732836
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ func NewCmdRename(f *cmdutil.Factory, runf func(*RenameOptions) error) *cobra.Co
|
|||
cmd := &cobra.Command{
|
||||
DisableFlagsInUseLine: true,
|
||||
|
||||
Use: "rename <old_repo_name> <new_repo_name>",
|
||||
Use: "rename <user/old_repo_name> <new_repo_name>",
|
||||
Short: "Rename a repository",
|
||||
Long: "Rename a GitHub repository",
|
||||
Args: cmdutil.ExactArgs(2, "cannot rename: repository argument required"),
|
||||
|
|
@ -84,7 +84,7 @@ func renameRun(opts *RenameOptions) error {
|
|||
}
|
||||
|
||||
if currentUser != repoDetails.Owner.Login {
|
||||
return fmt.Errorf("you do not own this repository")
|
||||
return fmt.Errorf("%s you do not own this repository", cs.FailureIcon())
|
||||
}
|
||||
|
||||
input := renameRepo{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue