Minecraft wiki entry for fill, associated text: fill <from> <to> <block> [destroy|hollow|keep|outline|replace]
The fill command also has an optional alternate syntax when using the replace option:
fill <from> <to> <block> replace [<filter>]