mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-25 10:12:37 +02:00
add required params
This commit is contained in:
parent
a3bdfe66c1
commit
c05ce69886
@ -10,7 +10,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type ImagesUploadCommand struct {
|
type ImagesUploadCommand struct {
|
||||||
Filename string `short:"f" long:"filename" description:"File to upload"`
|
Filename string `short:"f" long:"filename" description:"File to upload" required:"true"`
|
||||||
NbJobs int `short:"j" long:"jobs" description:"Number of jobs" default:"1"`
|
NbJobs int `short:"j" long:"jobs" description:"Number of jobs" default:"1"`
|
||||||
CategoryId int `short:"c" long:"category" description:"Category to upload the file"`
|
CategoryId int `short:"c" long:"category" description:"Category to upload the file"`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user