Skip to content

Instantly share code, notes, and snippets.

@jrsmith3
Created March 17, 2013 15:12
Show Gist options
  • Save jrsmith3/5181964 to your computer and use it in GitHub Desktop.
Save jrsmith3/5181964 to your computer and use it in GitHub Desktop.
Idea for a command that tells you what specified flags for an arbitrary bash command are.
wtf -- list specified command options of a bash command
EXAMPLE
-------
$ wtf rsync -rvcl src/ dest/
-r, --recursive recurse into directories
-v, --verbose increase verbosity
-c, --checksum skip based on checksum, not mod-time & size
-l, --links copy symlinks as symlinks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment