diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-12-23 20:23:46 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-12-23 20:23:46 +0100 |
commit | 20a102a047c85053db96c85b7bf2f760d7e90c6d (patch) | |
tree | bac3800d74bb8aa731fada8e3348e580b4ad358f /main.go | |
parent | ab723a1ebe84ce95643d19241872dd43f3714d15 (diff) | |
download | gallery-20a102a047c85053db96c85b7bf2f760d7e90c6d.tar.gz gallery-20a102a047c85053db96c85b7bf2f760d7e90c6d.tar.xz gallery-20a102a047c85053db96c85b7bf2f760d7e90c6d.zip |
Rename run command to web
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -702,8 +702,8 @@ func handleAPIOrphans(w http.ResponseWriter, r *http.Request) { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// cmdRun runs a web UI against GD on ADDRESS. -func cmdRun(args []string) error { +// cmdWeb runs a web UI against GD on ADDRESS. +func cmdWeb(args []string) error { if len(args) != 2 { return errors.New("usage: GD ADDRESS") } @@ -2082,7 +2082,7 @@ var commands = map[string]struct { handler func(args []string) error }{ "init": {cmdInit}, - "run": {cmdRun}, + "web": {cmdWeb}, "import": {cmdImport}, "tag": {cmdTag}, "sync": {cmdSync}, |