aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-04-10 10:33:01 +0800
committertypebrook <typebrook@gmail.com>2020-04-10 10:33:01 +0800
commitd0e23060bfb53987387c88cc89b7ec18a570a801 (patch)
treef0bfafc22362f445bc6b0f5d235c13896ccaca38
parent07b1734ffe64b565a89722d7e562ab3f27ad37f8 (diff)
Improve 'gist help' with proper pattern
-rwxr-xr-xgist2
1 files changed, 1 insertions, 1 deletions
diff --git a/gist b/gist
index ad4f19d..241bf43 100755
--- a/gist
+++ b/gist
@@ -698,7 +698,7 @@ _edit_gist() {
698 698
699# Print helper message 699# Print helper message
700usage() { 700usage() {
701 sed -E -n -e ' /^$/ q; 1,/^# --/ d; s/^# //p' "$0" 701 sed -E -n -e '/^#/ !q; 1,/^# --/ d; s/^# //p' "$0"
702} 702}
703 703
704# Check remote urls of all repos match current protocol in configuration file 704# Check remote urls of all repos match current protocol in configuration file