check command-line options and arguments with check_params function. move code from __name__==__main__ block to main()
check command-line options and arguments with check_params function.
move code from __name__==__main__ block to main()

wistful/grbackup