]> source.dussan.org Git - gitea.git/commitdiff
Bug fix
authorUnknown <joe2010xtmf@163.com>
Wed, 12 Mar 2014 04:19:45 +0000 (00:19 -0400)
committerUnknown <joe2010xtmf@163.com>
Wed, 12 Mar 2014 04:19:45 +0000 (00:19 -0400)
README.md
serve.go

index eaf3f44aca7dddcfdef126778ef12ae32cbb71e7..abb0b8ce20e13dbb8d67f4b153377bc46a407ee7 100644 (file)
--- a/README.md
+++ b/README.md
@@ -16,9 +16,12 @@ Please see [Wiki](https://github.com/gogits/gogs/wiki) for project design, devel
 - SSH protocal support.
 - Register/delete account.
 - Create public repository.
+- Git repository manipulation.
 
 ## Installation
 
+Make sure you install [Prerequirements](https://github.com/gogits/gogs/wiki/Prerequirements) first.
+
 There are two ways to install Gogs:
 
 - [Install from binary](https://github.com/gogits/gogs/wiki/Install-from-binary)
index 2b736c2f490b92ee8adc1eb18247d0741b906c1b..d4874b3ed629094a489b97839ab8c483d91b3828 100644 (file)
--- a/serve.go
+++ b/serve.go
@@ -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
        }