mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
action/command: Precise HelpCmd() documentation
This commit is contained in:
@@ -448,7 +448,10 @@ func (h *BufPane) openHelp(page string, hsplit bool, forceSplit bool) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// HelpCmd tries to open the given help page in a horizontal split
|
// HelpCmd tries to open the given help page according to the split type
|
||||||
|
// configured with the "helpsplit" option. It can be overriden by the optional
|
||||||
|
// arguments "-vpslit" or "-hsplit". In case more than one help page is given
|
||||||
|
// as argument then it opens all of them with the defined split type.
|
||||||
func (h *BufPane) HelpCmd(args []string) {
|
func (h *BufPane) HelpCmd(args []string) {
|
||||||
hsplit := config.GlobalSettings["helpsplit"] == "hsplit"
|
hsplit := config.GlobalSettings["helpsplit"] == "hsplit"
|
||||||
if len(args) < 1 {
|
if len(args) < 1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user