Skip to content

Commit 3886a7c

Browse files
committed
Let's make that lower case
1 parent 7d513a5 commit 3886a7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/ollama/ollama/api"
1414
)
1515

16-
type Args struct {
16+
type args struct {
1717
Path string `arg:"positional,required" help:"Path to an image or a directory with images"`
1818
DryRun bool `arg:"--dry-run,-n" help:"Don't write captions as .txt (stripping the original extension)"`
1919
StartCaption string `arg:"--start,-s" help:"Start the caption with this (image of Leela the dog,)"`
@@ -28,7 +28,7 @@ const appName = "capollama"
2828
//go:embed .version
2929
var fullVersion string
3030

31-
func (Args) Version() string {
31+
func (args) Version() string {
3232
return appName + " " + fullVersion
3333
}
3434

@@ -112,7 +112,7 @@ func isImageFile(path string) bool {
112112
}
113113

114114
func main() {
115-
var args Args
115+
var args args
116116

117117
arg.MustParse(&args)
118118

0 commit comments

Comments
 (0)