Skip to content

Commit

Permalink
Command autosuggestion: support subcommands
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Mar 19, 2020
1 parent c2d2087 commit 5a24955
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtins/src/main/java/org/jline/builtins/Widgets.java
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,8 @@ private void doCommandTailTip(String widget, CmdDesc cmdDesc, List<String> args)
}
} else if (!prevChar().equals(" ")) {
doTailTip = false;
} else if (cmdDesc != null) {
doDescription(cmdDesc.getMainDescription(descriptionSize));
}
if (cmdDesc != null) {
if (lastArg.startsWith("-")) {
Expand Down

0 comments on commit 5a24955

Please sign in to comment.