The template for the version command is always the same:
VERSION filename version revision
All arguments are optional. If filename is given, the file is loaded and its version is determined.
I think one addition is that if filename is a library it will give the version of the library in memory and not the on disk file. To override this one has to add the FILE switch to the command.
greets,
Staf.