Consolidated usage output into function

Consolidated repeated usage instructions into a single function that can be invoked wherever necessary.