From a9a5fb45f8b0b31f0219d7a0957db1a43a72f6e0 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 12 Mar 2014 00:19:45 -0400 Subject: [PATCH] Bug fix --- README.md | 3 +++ serve.go | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index eaf3f44ac..abb0b8ce2 100644 --- 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) diff --git a/serve.go b/serve.go index 2b736c2f4..d4874b3ed 100644 --- 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 }