zonyitoo / sysuh3c

H3C CLI Client for SYSU, which is implemented in C/C++. With an OpenWRT version.
MIT License
116 stars 37 forks source link

Does it support pi? #18

Closed Wsine closed 7 years ago

Wsine commented 7 years ago

# sysuh3c --user xxx Argument Error. Unknown option.

# sysuh3c -h is ok.

zonyitoo commented 7 years ago

I don't think pi (Linux) has anything special compares to other platforms.

Have you tried sysuh3c -u xxx?

Wsine commented 7 years ago

The reason is function getopt_long does not support arm. It will always catch default tag. I trid to modify the code and have fixed it. It works. Thank you!