Dear FreeBSD users,
I apologize if this has been raised before. Could somebody tell me why pkg has this funny syntax with space? To me, all it does is breaks logic. I understand this is a complex tool, however there should be a better way to work with syntax. There are pkg commands, such as install, info, delete, etc. Then, there are pkg-install, pkg-info, pkg-delete, etc - which are not even binaries or scripts, yet man pages link to them as they are. If I want to install something, I do:
With a space. However, if I want a man page on this particular function of pkg then I have to do:
With a dash. But when I try pkg-install command, it is, of course, not found. Or even worse, as far as I am concerned:
Which is a rather non-standard way to obtain documentation and a system of its own. (We don't do
I apologize if this has been raised before. Could somebody tell me why pkg has this funny syntax with space? To me, all it does is breaks logic. I understand this is a complex tool, however there should be a better way to work with syntax. There are pkg commands, such as install, info, delete, etc. Then, there are pkg-install, pkg-info, pkg-delete, etc - which are not even binaries or scripts, yet man pages link to them as they are. If I want to install something, I do:
pkg install ... With a space. However, if I want a man page on this particular function of pkg then I have to do:
man pkg-installWith a dash. But when I try pkg-install command, it is, of course, not found. Or even worse, as far as I am concerned:
pkg install helpWhich is a rather non-standard way to obtain documentation and a system of its own. (We don't do
ls help, for example.) Why do we have spaces in the syntax at all? Why not use dash everywhere and, thus, bring the pkg syntax and man usage into the same style?