Terminal Markdown previewer — GUI-like experience.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: detailed help output

RivoLink 6191fc0f 8a86fc4b

+13 -1
+13 -1
src/cli.rs
··· 16 16 } 17 17 18 18 pub(crate) fn usage_text() -> &'static str { 19 - "Usage: leaf [--watch] [--theme arctic|forest|ocean|solarized-dark] [--editor <name>] [file.md]\n leaf [--watch] --picker\n leaf --update\n echo '# Hello' | leaf" 19 + "Usage: leaf [OPTIONS] [file.md]\n\ 20 + \x20 leaf [--watch] --picker\n\ 21 + \x20 leaf --update\n\ 22 + \x20 echo '# Hello' | leaf\n\ 23 + \n\ 24 + Options:\n\ 25 + \x20 -h, --help Show this help message and exit\n\ 26 + \x20 -V, --version Show version information and exit\n\ 27 + \x20 -w, --watch Watch the file for changes and reload automatically\n\ 28 + \x20 --theme <PRESET> Set color theme (arctic|forest|ocean|solarized-dark)\n\ 29 + \x20 -e, --editor <NAME> Set external editor (nano|vim|code|subl|emacs)\n\ 30 + \x20 --picker Open the file browser picker\n\ 31 + \x20 --update Update leaf to the latest version" 20 32 } 21 33 22 34 pub(crate) fn version_text() -> &'static str {