Skip to content

Instantly share code, notes, and snippets.

@markhibberd
Created February 14, 2012 22:09
Show Gist options
  • Save markhibberd/1830942 to your computer and use it in GitHub Desktop.
Save markhibberd/1830942 to your computer and use it in GitHub Desktop.
Never have I enjoyed crafting a usage message as much as this.
echo 'note:'
echo ' Examples assume use of a shell with "**" glob support. This means either zsh or'
echo ' bash 4.x with `shopt -s globstar` set. If you are an insolent mac user with a'
echo ' default bash 3.x, this tool strongly recommends you upgrade (although defenestration'
echo ' of said mac is also a valid option).'
echo
echo ' If you become desperate something like $(find src/test/js/atomic -name \*.js) could be'
echo ' used as a substitute.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment