* added flags and optional arguments to view-source * removed redundant code * removed redundant code * fmt