Skip to content

Commit

Permalink
please.sh (help): list also commands with underscores in their names
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Jan 5, 2016
1 parent bc125f4 commit a37cb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion please.sh
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ publish () { #
test $# -gt 0 &&
test help != "$*" ||
die "Usage: $0 <command>\n\nCommands:\n%s" \
"$(sed -n 's/^\([a-z]*\) () { #\(.*\)/\t\1\2/p' <"$0")"
"$(sed -n 's/^\([a-z_]*\) () { #\(.*\)/\t\1\2/p' <"$0")"

command="$1"
shift
Expand Down

0 comments on commit a37cb9e

Please sign in to comment.