Skip to content

Instantly share code, notes, and snippets.

@jjwatt
Created September 3, 2019 20:22
Show Gist options
  • Save jjwatt/494be15760ec8080373bfe043470a8eb to your computer and use it in GitHub Desktop.
Save jjwatt/494be15760ec8080373bfe043470a8eb to your computer and use it in GitHub Desktop.
helpless
helpless() { "$@" --help | less }
@jjwatt
Copy link
Author

jjwatt commented Jul 19, 2023

Probably better as helpless() { "$@" --help | "${PAGER:-less}" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment