Skip to content

Commit 44638bc

Browse files
committed
implement better error about wrong docopt argument
1 parent c31e857 commit 44638bc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ require (
5353
gopkg.in/yaml.v3 v3.0.1
5454
)
5555

56-
replace github.com/docopt/docopt-go => github.com/kindermax/docopt.go v0.7.1
56+
replace github.com/docopt/docopt-go => github.com/kindermax/docopt.go v0.7.2-0.20260318200304-9bd2b80373ad

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ github.com/juju/version v0.0.0-20191219164919-81c1be00b9a6/go.mod h1:kE8gK5X0CIm
5050
github.com/julienschmidt/httprouter v1.1.1-0.20151013225520-77a895ad01eb/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
5151
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs=
5252
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
53-
github.com/kindermax/docopt.go v0.7.1 h1:8jvJtUtUGsU9qkMhQDkaoWJZqDXx8lnBoaYKtgsGS3U=
54-
github.com/kindermax/docopt.go v0.7.1/go.mod h1:VlXA+8GArbisi1Ja07kavKt/UOrJFDWJk6EhMN6KdAU=
53+
github.com/kindermax/docopt.go v0.7.2-0.20260318200304-9bd2b80373ad h1:cVJX4gy/neGpAmzpacu/B+0GxLy9rykPapPmljtyug0=
54+
github.com/kindermax/docopt.go v0.7.2-0.20260318200304-9bd2b80373ad/go.mod h1:VlXA+8GArbisi1Ja07kavKt/UOrJFDWJk6EhMN6KdAU=
5555
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
5656
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
5757
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=

0 commit comments

Comments
 (0)