As described by @mcytu, it would be nice to get a warning message when a module unload does not unload anything because the specified module is not loaded.
Following the same trend, it would also be nice to get this kind of warning when a module load does not load anything as specified module is already loaded.
The idea here is to add a ./configure option, a MODULES_ environment variable and a command-line switch for load, unload and switch commands to control whether or not a warning message should be printed if a module to load or unload is already loaded or unloaded