Skip to content

Commit a3e8e4f

Browse files
committed
go: Upgrade packages with
Upgrade go dependencies with go get -u go mod tidy Kong's help message format has been slightly updated so update all auto-generated help messages in docs.
1 parent 239c5fb commit a3e8e4f

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

docs/usage.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can also get help for each subcommand by running it with the
2323

2424
<!-- gen:evy --help -->
2525

26-
Usage: evy <command>
26+
Usage: evy <command> [flags]
2727

2828
evy is a tool for managing evy source code.
2929

@@ -32,16 +32,16 @@ You can also get help for each subcommand by running it with the
3232
-V, --version Print version information
3333

3434
Commands:
35-
run [<source>]
35+
run [<source>] [flags]
3636
Run Evy program.
3737

38-
fmt [<files> ...]
38+
fmt [<files> ...] [flags]
3939
Format Evy files.
4040

41-
serve export <dir>
41+
serve export <dir> [flags]
4242
Export embedded content.
4343

44-
serve start
44+
serve start [flags]
4545
Start web server, default for "evy serve".
4646

4747
Run "evy <command> --help" for more information on a command.
@@ -52,7 +52,7 @@ You can also get help for each subcommand by running it with the
5252

5353
<!-- gen:evy run --help -->
5454

55-
Usage: evy run [<source>]
55+
Usage: evy run [<source>] [flags]
5656

5757
Run Evy program.
5858

@@ -73,7 +73,7 @@ You can also get help for each subcommand by running it with the
7373

7474
<!-- gen:evy fmt --help -->
7575

76-
Usage: evy fmt [<files> ...]
76+
Usage: evy fmt [<files> ...] [flags]
7777

7878
Format Evy files.
7979

@@ -93,7 +93,7 @@ You can also get help for each subcommand by running it with the
9393

9494
<!-- gen:evy serve start --help -->
9595

96-
Usage: evy serve start
96+
Usage: evy serve start [flags]
9797

9898
Start web server, default for "evy serve".
9999

@@ -114,7 +114,7 @@ You can also get help for each subcommand by running it with the
114114

115115
<!-- gen:evy serve export --help -->
116116

117-
Usage: evy serve export <dir>
117+
Usage: evy serve export <dir> [flags]
118118

119119
Export embedded content.
120120

frontend/docs/usage.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ <h1>Command Line Usage</h1>
550550
</p>
551551
<h3><a id="evy-help" href="#evy-help" class="anchor">#</a>evy --help</h3>
552552
<!-- gen:evy --help -->
553-
<pre><code>Usage: evy &lt;command&gt;
553+
<pre><code>Usage: evy &lt;command&gt; [flags]
554554

555555
evy is a tool for managing evy source code.
556556

@@ -559,24 +559,24 @@ <h3><a id="evy-help" href="#evy-help" class="anchor">#</a>evy --help</h3>
559559
-V, --version Print version information
560560

561561
Commands:
562-
run [&lt;source&gt;]
562+
run [&lt;source&gt;] [flags]
563563
Run Evy program.
564564

565-
fmt [&lt;files&gt; ...]
565+
fmt [&lt;files&gt; ...] [flags]
566566
Format Evy files.
567567

568-
serve export &lt;dir&gt;
568+
serve export &lt;dir&gt; [flags]
569569
Export embedded content.
570570

571-
serve start
571+
serve start [flags]
572572
Start web server, default for &quot;evy serve&quot;.
573573

574574
Run &quot;evy &lt;command&gt; --help&quot; for more information on a command.
575575
</code></pre>
576576
<!-- genend -->
577577
<h3><a id="evy-run-help" href="#evy-run-help" class="anchor">#</a>evy run --help</h3>
578578
<!-- gen:evy run --help -->
579-
<pre><code>Usage: evy run [&lt;source&gt;]
579+
<pre><code>Usage: evy run [&lt;source&gt;] [flags]
580580

581581
Run Evy program.
582582

@@ -594,7 +594,7 @@ <h3><a id="evy-run-help" href="#evy-run-help" class="anchor">#</a>evy run --help
594594
<!-- genend -->
595595
<h3><a id="evy-fmt-help" href="#evy-fmt-help" class="anchor">#</a>evy fmt --help</h3>
596596
<!-- gen:evy fmt --help -->
597-
<pre><code>Usage: evy fmt [&lt;files&gt; ...]
597+
<pre><code>Usage: evy fmt [&lt;files&gt; ...] [flags]
598598

599599
Format Evy files.
600600

@@ -614,7 +614,7 @@ <h3>
614614
[start] --help
615615
</h3>
616616
<!-- gen:evy serve start --help -->
617-
<pre><code>Usage: evy serve start
617+
<pre><code>Usage: evy serve start [flags]
618618

619619
Start web server, default for &quot;evy serve&quot;.
620620

@@ -635,7 +635,7 @@ <h3>
635635
export --help
636636
</h3>
637637
<!-- gen:evy serve export --help -->
638-
<pre><code>Usage: evy serve export &lt;dir&gt;
638+
<pre><code>Usage: evy serve export &lt;dir&gt; [flags]
639639

640640
Export embedded content.
641641

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module evylang.dev/evy
33
go 1.22
44

55
require (
6-
github.com/alecthomas/kong v0.8.1
6+
github.com/alecthomas/kong v0.9.0
77
rsc.io/markdown v0.0.0-20240117044121-669d2fdf1650
88
)
99

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
github.com/alecthomas/assert/v2 v2.1.0 h1:tbredtNcQnoSd3QBhQWI7QZ3XHOVkw1Moklp2ojoH/0=
2-
github.com/alecthomas/assert/v2 v2.1.0/go.mod h1:b/+1DI2Q6NckYi+3mXyH3wFb8qG37K/DuK80n7WefXA=
3-
github.com/alecthomas/kong v0.8.1 h1:acZdn3m4lLRobeh3Zi2S2EpnXTd1mOL6U7xVml+vfkY=
4-
github.com/alecthomas/kong v0.8.1/go.mod h1:n1iCIO2xS46oE8ZfYCNDqdR0b0wZNrXAIAqro/2132U=
5-
github.com/alecthomas/repr v0.1.0 h1:ENn2e1+J3k09gyj2shc0dHr/yjaWSHRlrJ4DPMevDqE=
6-
github.com/alecthomas/repr v0.1.0/go.mod h1:2kn6fqh/zIyPLmm3ugklbEi5hg5wS435eygvNfaDQL8=
1+
github.com/alecthomas/assert/v2 v2.6.0 h1:o3WJwILtexrEUk3cUVal3oiQY2tfgr/FHWiz/v2n4FU=
2+
github.com/alecthomas/assert/v2 v2.6.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
3+
github.com/alecthomas/kong v0.9.0 h1:G5diXxc85KvoV2f0ZRVuMsi45IrBgx9zDNGNj165aPA=
4+
github.com/alecthomas/kong v0.9.0/go.mod h1:Y47y5gKfHp1hDc7CH7OeXgLIpp+Q2m1Ni0L5s3bI8Os=
5+
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
6+
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
77
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
88
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
99
github.com/yuin/goldmark v1.6.0 h1:boZcn2GTjpsynOsC0iJHnBWa4Bi0qzfJjthwauItG68=

main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99
// The Evy toolchain has two subcommands: run and fmt.
1010
//
11-
// Usage: evy <command>
11+
// Usage: evy <command> [flags]
1212
//
1313
// evy is a tool for managing evy source code.
1414
//
@@ -17,16 +17,16 @@
1717
// -V, --version Print version information
1818
//
1919
// Commands:
20-
// run [<source>]
20+
// run [<source>] [flags]
2121
// Run Evy program.
2222
//
23-
// fmt [<files> ...]
23+
// fmt [<files> ...] [flags]
2424
// Format Evy files.
2525
//
26-
// serve export <dir>
26+
// serve export <dir> [flags]
2727
// Export embedded content.
2828
//
29-
// serve start
29+
// serve start [flags]
3030
// Start web server, default for "evy serve".
3131
//
3232
// Run "evy <command> --help" for more information on a command.

0 commit comments

Comments
 (0)