m3ng9i/ran

-p 选项只有排在第一位时才会生效。

Closed this issue · 2 comments

环境:Windows

D:\Download\SS>Ran.exe -v
Version: v0.1.3, Branch: master, Build: ff83877, Build time: 2016-08-08 18:43 +0800

D:\Download\SS>Ran.exe -l ture -p 80
2016-12-27 08:56:42.789341 INFO: System: Ran is running on HTTP port 8080
2016-12-27 08:56:42.792345 INFO: System: Listening on http://192.168.1.3:8080
2016-12-27 08:56:42.792345 INFO: System: Listening on http://127.0.0.1:8080
2016-12-27 08:56:43.647785 INFO: System: Catch signal: interrupt, Ran is going to shutdown

D:\Download\SS>Ran.exe -p 80 -l ture
2016-12-27 08:56:59.462496 INFO: System: Ran is running on HTTP port 80
2016-12-27 08:56:59.465500 INFO: System: Listening on http://192.168.1.3:80
2016-12-27 08:56:59.465500 INFO: System: Listening on http://127.0.0.1:80
2016-12-27 08:57:01.997015 INFO: System: Catch signal: interrupt, Ran is going to shutdown

试试这样调用:
ran.exe -l -p 80

ran.exe -l=true -p=80

ran.exe -l -p 80
ran.exe -l=true -p=80

使用以上命令都调用成功了。