This commit is contained in:
Parth Patel 2021-10-20 16:17:29 -04:00
parent 8e72d48e72
commit 9003034c1c

View file

@ -54,7 +54,7 @@ func NewCmdRename(f *cmdutil.Factory, runf func(*RenameOptions) error) *cobra.Co
With '-R', and two arguments the given repository is replaced with the new name `,
Args: cobra.MaximumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) > 0 {
if len(args) > 0 {
opts.newRepoSelector = args[0]
} else {
if !opts.IO.CanPrompt() {