diff options
author | typebrook <typebrook@gmail.com> | 2020-05-14 10:19:52 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-05-14 10:19:52 +0800 |
commit | 511de1c70166101b199aadf66e39f6e119eebf22 (patch) | |
tree | 6a861dd6d1c5b83ccd8cd0ba84472c5312117a2d | |
parent | 5c0bd0f281815297f22d022710df59ef364f42c7 (diff) |
Fix logic error in helper message
-rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -751,7 +751,7 @@ _edit_gist() { | |||
751 | # Print helper message | 751 | # Print helper message |
752 | usage() { | 752 | usage() { |
753 | sed -E -n -e '/^#/ !q; 1,/^# --/ d; s/^# //p' "$0" \ | 753 | sed -E -n -e '/^#/ !q; 1,/^# --/ d; s/^# //p' "$0" \ |
754 | | sed -Ee "s/^( ?|Usage: )gist/\1$NAME/" | 754 | | sed -Ee "s/^( *|Usage: )gist/\1$NAME/" |
755 | } | 755 | } |
756 | 756 | ||
757 | # Check remote urls of all repos match current protocol in configuration file | 757 | # Check remote urls of all repos match current protocol in configuration file |