Added copyright notice and licensing to command-line tool.
To improve consistency, flipped bit for 'u' option.