[bugfix] compat -imagelinks is -imageused in core

- reorder summary input so -help message will be shown if
  no generator is given.
- -file option does not expect pageName

Change-Id: Id5eb5dd6c42d024bc9758475d82641fcb396977f
Merge "[bugfix] compat -imagelinks is -imageused in core"