Skip to content

Commit

Permalink
Docs typo: Columns separated -> Colon separated (#775)
Browse files Browse the repository at this point in the history
I believe "colon" was intended because *HISTORY_IGNORE*'s value is
passed to `matchPatterns` which converts colons to Regex `|`.

https://github.com/jline/jline3/blob/c6ae2c1295c81893456a38ae69509693a690b50d/reader/src/main/java/org/jline/reader/impl/history/DefaultHistory.java#L402-L403
  • Loading branch information
mikesamuel committed Mar 18, 2022
1 parent f9b267f commit fe1a6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reader/src/main/java/org/jline/reader/LineReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public interface LineReader {
String AMBIGUOUS_BINDING = "ambiguous-binding";

/**
* Columns separated list of patterns that will not be saved in history.
* Colon separated list of patterns that will not be saved in history.
*/
String HISTORY_IGNORE = "history-ignore";

Expand Down

0 comments on commit fe1a6ff

Please sign in to comment.