Skip to content

Commit 0fb6c82

Browse files
fix uuid to assert one arg
1 parent 1a00575 commit 0fb6c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2836,7 +2836,7 @@ The following options are recognized:
28362836
}, func(command string, args ...string) error {
28372837
rc.Apply(opt.UseTarget)
28382838

2839-
if len(args) == 0 {
2839+
if len(args) != 1 {
28402840
r.ExitWithUsage("uuid")
28412841
}
28422842

0 commit comments

Comments
 (0)