diff options
Diffstat (limited to 'scripts/gist')
| -rwxr-xr-x | scripts/gist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gist b/scripts/gist index d0198a3..8e5e36c 100755 --- a/scripts/gist +++ b/scripts/gist | |||
| @@ -403,7 +403,7 @@ _edit_gist() { | |||
| 403 | && _update | 403 | && _update |
| 404 | } | 404 | } |
| 405 | 405 | ||
| 406 | _help_message() { | 406 | usage() { |
| 407 | sed -E -n ' /^$/ q; 8,$ s/^#//p' $0 | 407 | sed -E -n ' /^$/ q; 8,$ s/^#//p' $0 |
| 408 | } | 408 | } |
| 409 | 409 | ||
| @@ -434,7 +434,7 @@ case "$1" in | |||
| 434 | shift | 434 | shift |
| 435 | _configure "$@" ;; | 435 | _configure "$@" ;; |
| 436 | help | h) | 436 | help | h) |
| 437 | _help_message ;; | 437 | usage ;; |
| 438 | *) | 438 | *) |
| 439 | _goto_gist "$1" ;; | 439 | _goto_gist "$1" ;; |
| 440 | esac | 440 | esac |