38080
parent
3e6d2874d5
commit
69e2789b9b
|
|
@ -34,7 +34,7 @@ func main() {
|
||||||
func Run(ctx context.Context, args []string) error {
|
func Run(ctx context.Context, args []string) error {
|
||||||
flags := flag.NewFlagSet(os.Args[0], flag.ContinueOnError)
|
flags := flag.NewFlagSet(os.Args[0], flag.ContinueOnError)
|
||||||
d := flags.String("d", "./testdata/", "directory containing directories of (x.jpg,x.mp4)")
|
d := flags.String("d", "./testdata/", "directory containing directories of (x.jpg,x.mp4)")
|
||||||
p := flags.Int("p", 8080, "port to listen on")
|
p := flags.Int("p", 38080, "port to listen on")
|
||||||
if err := flags.Parse(args); err != nil {
|
if err := flags.Parse(args); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
Loading…
Reference in New Issue