Hi all, I found that std.flag require noname-flag support. For example: "ping 127.0.0.1 -n 2" and "ping 127.0.0.1 /n 2" are legal windows "ping" command line usages, but std.flag does not support these formats. Moreover, I found std.flag has a suspect BUG: I think "ping 127.0.0.1 -n = 2" or "ping 127.0.0.1 -n= 2" or "ping 127.0.0.1 -n =2" are possibly legal usages of command line, but unfortunately std.flag will cause panic.
So, I have solved these problems in my cmdline project: https://github.com/vipally/cmdline And, I hope std.flag can consider these requirements and allow merge the feature changes. You can see my detail test case at: https://github.com/vipally/cmdline/blob/master/flag_test.go I hope std.falg can take these cases PASS one day. Thanks all. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
