提交 f19ca53f 编写于 作者: J Jeff Wu

Do not output usage hint when shell=none. Since there is no shell,

there is no clear way to expect how a usage hint will be interpretted.
上级 ce33161e
......@@ -124,10 +124,7 @@ REM @FOR /f "tokens=*" %%i IN ('%s') DO @%%i
unsetSuffix: "\n",
unsetDelimiter: "",
usageHint: func(s ...interface{}) string {
return fmt.Sprintf(`
# %s
# eval $(%s)
`, s...)
return ""
},
},
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册