Add a mandatory argument to --resources.

It should be use at least with an "all" argument.
Partially fix #49