aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-05-14 10:19:52 +0800
committertypebrook <typebrook@gmail.com>2020-05-14 10:19:52 +0800
commit511de1c70166101b199aadf66e39f6e119eebf22 (patch)
tree6a861dd6d1c5b83ccd8cd0ba84472c5312117a2d
parent5c0bd0f281815297f22d022710df59ef364f42c7 (diff)
Fix logic error in helper message
-rwxr-xr-xgist2
1 files changed, 1 insertions, 1 deletions
diff --git a/gist b/gist
index a0bcec5..fe74ce5 100755
--- a/gist
+++ b/gist
@@ -751,7 +751,7 @@ _edit_gist() {
751# Print helper message 751# Print helper message
752usage() { 752usage() {
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