The general format of the Rebuild command line is:
rebuild in-file [,out-file] [options]
If you use Rebuild through Fileshare you can only use the options that are supported for such use. Otherwise you will obtain undefined results. See the topic
Rebuild through Fileshare for more information.