Fix quoting in the Explain plugin

Fixes bug where Bash prints a "command not found" message when the
function is run, due to incorrect quoting of the argument to the
meta function example.
pull/1181/head
Ricardo Lima 2018-04-21 21:55:42 -04:00
parent e13df15451
commit 98c44fcc1e
No known key found for this signature in database
GPG Key ID: 7E6899D15BF529D9
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ explain () {
about 'explain any bash command via mankier.com manpage API' about 'explain any bash command via mankier.com manpage API'
param '1: Name of the command to explain' param '1: Name of the command to explain'
example '$ explain # interactive mode. Type commands to explain in REPL' example '$ explain # interactive mode. Type commands to explain in REPL'
example '$ explain 'cmd -o | ...' # one quoted command to explain it.' example '$ explain '"'"'cmd -o | ...'"'"' # one quoted command to explain it.'
group 'explain' group 'explain'
if [ "$#" -eq 0 ]; then if [ "$#" -eq 0 ]; then