style(bash): remove unnecessary space stripping in help output
All checks were successful
Auto Changelog & (Release) / release (push) Successful in 6s
All checks were successful
Auto Changelog & (Release) / release (push) Successful in 6s
- Simplifies the sed command by removing redundant space trimming.
This commit is contained in:
@@ -13,7 +13,7 @@ show_help() {
|
||||
sed -n '/^#=== HELP START ===/,/^#=== HELP END ===/ {
|
||||
/^#=== HELP START ===/d
|
||||
/^#=== HELP END ===/d
|
||||
s/^# *//
|
||||
s/^#//
|
||||
p
|
||||
}' "$0"
|
||||
}
|
||||
|
Reference in New Issue
Block a user