diff options
| -rwxr-xr-x | gist | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -4,6 +4,7 @@ | |||
| 4 | # License: MIT | 4 | # License: MIT |
| 5 | # https://gist.github.com/typebrook/b0d2e7e67aa50298fdf8111ae7466b56 | 5 | # https://gist.github.com/typebrook/b0d2e7e67aa50298fdf8111ae7466b56 |
| 6 | # | 6 | # |
| 7 | # -- | ||
| 7 | # gist | 8 | # gist |
| 8 | # Description: Manage your gists with git and Github API v3 | 9 | # Description: Manage your gists with git and Github API v3 |
| 9 | # Usage: gist [command] [<args>] | 10 | # Usage: gist [command] [<args>] |
| @@ -693,7 +694,7 @@ _edit_gist() { | |||
| 693 | 694 | ||
| 694 | # Print helper message | 695 | # Print helper message |
| 695 | usage() { | 696 | usage() { |
| 696 | sed -E -n -e ' /^$/ q; 7,$ s/^# //p' "$0" | 697 | sed -E -n -e ' /^$/ q; 1,/^# --/ d; s/^# //p' "$0" |
| 697 | } | 698 | } |
| 698 | 699 | ||
| 699 | # Check remote urls of all repos match current protocol in configuration file | 700 | # Check remote urls of all repos match current protocol in configuration file |