I have no idea if this was a bug or intentional, but in the next major OpenWrt version (or in the development snapshot images) you won't find this behaviour anymore, as said by @hnyman .
The wifi tool (actually a script) did the "up" action on any unknown command for many years. "restart" is not a recognized command, it will do the same on wifi abcdefg.
If you see the last commit that modified that file, you see that this behaviour was fixed to be more sane and consistent, now it will print usage if there is an unknown command, and it will execute the "up" action if no command was specified.