Renamed the server command to http
This commit is contained in:
+3
-3
@@ -130,8 +130,8 @@ func server(cmd *cobra.Command, args []string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// shelf
|
// shelf
|
||||||
var serverCmd = &cobra.Command{
|
var httpCmd = &cobra.Command{
|
||||||
Use: "server",
|
Use: "http",
|
||||||
Short: "",
|
Short: "",
|
||||||
Long: ``,
|
Long: ``,
|
||||||
Args: nil,
|
Args: nil,
|
||||||
@@ -139,5 +139,5 @@ var serverCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
rootCmd.AddCommand(serverCmd)
|
rootCmd.AddCommand(httpCmd)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user