diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-12 00:19:45 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-12 00:19:45 -0400 |
commit | a9a5fb45f8b0b31f0219d7a0957db1a43a72f6e0 (patch) | |
tree | d4529e9b49533af27332e3fe4814924f1dda572b /serve.go | |
parent | 29e9b8c3c44500f0f100b6a9cda47158b40ec12f (diff) | |
download | gitea-a9a5fb45f8b0b31f0219d7a0957db1a43a72f6e0.tar.gz gitea-a9a5fb45f8b0b31f0219d7a0957db1a43a72f6e0.zip |
Bug fix
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -30,10 +30,7 @@ var CmdServ = cli.Command{ Description: ` gogs serv provide access auth for repositories`, Action: runServ, - Flags: []cli.Flag{ - //cli.BoolFlag{"update, u", "update pakcage(s) and dependencies if any"}, - //cli.BoolFlag{"verbose, v", "show process details"}, - }, + Flags: []cli.Flag{}, } func In(b string, sl map[string]int) bool { @@ -61,7 +58,7 @@ func runServ(*cli.Context) { cmd := os.Getenv("SSH_ORIGINAL_COMMAND") if cmd == "" { - println("Hi %s! You've successfully authenticated, but Gogits does not provide shell access.\n", user.Name) + printf("Hi %s! You've successfully authenticated, but Gogs does not provide shell access.\n", user.Name) return } |