Skip to content

Commit 1908165

Browse files
committed
arg is 2
1 parent c29a62b commit 1908165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/gitopia/client/cli/txRepository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func CmdToggleRepositoryArchived() *cobra.Command {
199199
cmd := &cobra.Command{
200200
Use: "toggle-repository-archived [owner-id] [repository-name]",
201201
Short: "toggle repository archived",
202-
Args: cobra.ExactArgs(3),
202+
Args: cobra.ExactArgs(2),
203203
RunE: func(cmd *cobra.Command, args []string) error {
204204
argOwnerid := args[0]
205205
argRepositoryName := args[1]

0 commit comments

Comments
 (0)