We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 586b846 + 31d3c46 commit b5108c4Copy full SHA for b5108c4
cmd/server.go
@@ -43,6 +43,7 @@ var serverCmd = &cobra.Command{
43
log.Info("Setting persistent data directory to none.")
44
dataDirectory = ""
45
}
46
+ lib.EnsureDirectory(handlers.UploadedFilesDirectory())
47
48
49
log.Infof("Starting a blocking webserver at address %s", ServerAddress)
main.go
@@ -2,8 +2,12 @@ package main
2
3
import (
4
"github.com/polyverse/ropoly/cmd"
5
+ "os"
6
)
7
8
func main() {
9
+ if len(os.Args) == 1 {
10
+ println("Usage: \"" + os.Args[0] + " server\" or \"" + os.Args[0] + " daemon\"")
11
+ }
12
cmd.Execute()
13
0 commit comments