web: Change /rpc to /webrpc

This commit is contained in:
Harshavardhana
2016-04-07 23:44:08 -07:00
parent bad2f2afbb
commit fbd02d530d
4 changed files with 33 additions and 44 deletions

View File

@@ -148,7 +148,7 @@ func initServerConfig(c *cli.Context) {
// Check server arguments.
func checkServerSyntax(c *cli.Context) {
if !c.Args().Present() || c.Args().First() == "help" {
if c.Args().First() == "help" {
cli.ShowCommandHelpAndExit(c, "server", 1)
}
if len(c.Args()) > 2 {