From 511de1c70166101b199aadf66e39f6e119eebf22 Mon Sep 17 00:00:00 2001 From: typebrook Date: Thu, 14 May 2020 10:19:52 +0800 Subject: Fix logic error in helper message --- gist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gist b/gist index a0bcec5..fe74ce5 100755 --- a/gist +++ b/gist @@ -751,7 +751,7 @@ _edit_gist() { # Print helper message usage() { sed -E -n -e '/^#/ !q; 1,/^# --/ d; s/^# //p' "$0" \ - | sed -Ee "s/^( ?|Usage: )gist/\1$NAME/" + | sed -Ee "s/^( *|Usage: )gist/\1$NAME/" } # Check remote urls of all repos match current protocol in configuration file -- cgit v1.2.3-70-g09d2