Skip to content

Commit 9e476f2

Browse files
committed
fix: require only one arg
1 parent c513f10 commit 9e476f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/sharing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (r *RootCmd) shareWorkspace(orgContext *OrganizationContext) *serpent.Comma
6767
},
6868
Middleware: serpent.Chain(
6969
r.InitClient(client),
70-
serpent.RequireRangeArgs(1, -1),
70+
serpent.RequireNArgs(1),
7171
),
7272
Handler: func(inv *serpent.Invocation) error {
7373
if len(users) == 0 && len(groups) == 0 {

0 commit comments

Comments
 (0)