Skip to content

Commit

Permalink
docs: more docs tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Mar 28, 2024
1 parent e941662 commit fb24ef6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ const (
DEFAULT_BUFFER_SIZE = 10000
)

var LONG_DESCRIPTION = fmt.Sprintf(`
Loggy is a swiss knife for working with logs.
var LONG_DESCRIPTION = fmt.Sprintf(` _
| | ___ __ _ __ _ _ _
| |/ _ \ / _`+"`"+` |/ _`+"`"+` | | | |
| | (_) | (_| | (_| | |_| |
|_|\___/ \__, |\__, |\__, |
|___/ |___/ |___/
Loggy v%s is a swiss knife for working with logs.
It stores the logs in internal buffer which allows it to do all sort of operations on top of them without the need to rerun the log's producing program or store them in file.
By default loggy reads from STDIN or you can specify file path to read the logs from specific file.
Expand Down Expand Up @@ -60,7 +66,7 @@ Keyboard shortcuts
%s
%s
`, ui.HelpParsingPatternText, ui.HelpFilterText, ui.HelpHomeText, ui.HelpNavigationText, ui.HelpInputsText)
`, ui.Version, ui.HelpParsingPatternText, ui.HelpFilterText, ui.HelpHomeText, ui.HelpNavigationText, ui.HelpInputsText)

var cfgFile string

Expand Down
2 changes: 1 addition & 1 deletion ui/modal_help.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Status bar on top displays several helpful information. Describing from left to
- Input name
- Optional "F" indicator that shows if loggy is following the end of the logs
- Filter status that displays "<number of filter matching lines>/<number of total lines>". If it has green background than filter is applied otherwise is turned off or not set.
- Optional number of lines that were not possible to match against the parsing pattern.s
- Optional number of lines that were not possible to match against the parsing pattern.
Main key shortcuts:
- "%<filter>s" for setting filter
Expand Down

0 comments on commit fb24ef6

Please sign in to comment.