This video explains the pacman command line, I think you will find it interesting.
A few months ago I posted this little list:
These are some of pacman options I think are worth remembering. There are many others, of course, but those others are not very likely to be commonly used, in my opinion.
I keep this cheatsheet at hand: