mirror of
https://github.com/casbin/bee.git
synced 2025-07-21 22:54:20 +08:00
fix bee hprose error.
This commit is contained in:
@ -308,6 +308,11 @@ func createhprose(cmd *Command, args []string) int {
|
|||||||
|
|
||||||
w := NewColorWriter(os.Stdout)
|
w := NewColorWriter(os.Stdout)
|
||||||
|
|
||||||
|
if len(args) < 1 {
|
||||||
|
ColorLog("[ERRO] Argument [appname] is missing\n")
|
||||||
|
os.Exit(2)
|
||||||
|
}
|
||||||
|
|
||||||
curpath, _ := os.Getwd()
|
curpath, _ := os.Getwd()
|
||||||
if len(args) > 1 {
|
if len(args) > 1 {
|
||||||
cmd.Flag.Parse(args[1:])
|
cmd.Flag.Parse(args[1:])
|
||||||
|
Reference in New Issue
Block a user