wocao
This commit is contained in:
-14
@@ -1,13 +1,3 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
@@ -16,7 +6,6 @@ import (
|
||||
|
||||
"simplegit/cmd/daemon"
|
||||
"simplegit/cmd/gitctl"
|
||||
"simplegit/hooks"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -30,8 +19,6 @@ func main() {
|
||||
daemon.Run(args[1:])
|
||||
case "ctl":
|
||||
gitctl.Run(args[1:])
|
||||
case "hook":
|
||||
hooks.RunClient(args[1:])
|
||||
case "help", "-h", "--help":
|
||||
printHelp(os.Stdout)
|
||||
default:
|
||||
@@ -47,7 +34,6 @@ func printHelp(w *os.File) {
|
||||
Usage:
|
||||
simplegit daemon [flags] run the git hosting server (HTTP + SSH + manage)
|
||||
simplegit ctl [flags] run the gitctl TUI against the manage port
|
||||
simplegit hook [flags] forward a git hook invocation (run by hook scripts)
|
||||
simplegit help show this help
|
||||
|
||||
Run "simplegit daemon -h" or "simplegit ctl -h" for subcommand flags.
|
||||
|
||||
Reference in New Issue
Block a user