nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 3c3eb4909d3275229c2f7f35eb8ab50d3fa38cab
parent 636b7348a6988bbfcd58c82698acc389d02398d1
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat,  4 Mar 2017 12:04:15 -0600

usage: mention the -g/--showcursor option

It's already in the external documentation; it should be here as well.

Diffstat:
Msrc/nano.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -855,6 +855,10 @@ void usage(void) print_opt("-c", "--constantshow", N_("Constantly show cursor position")); print_opt("-d", "--rebinddelete", N_("Fix Backspace/Delete confusion problem")); +#ifndef DISABLE_BROWSER + if (!ISSET(RESTRICTED)) + print_opt("-g", "--showcursor", N_("Show cursor in file browser")); +#endif print_opt("-h", "--help", N_("Show this help text and exit")); #ifndef NANO_TINY print_opt("-i", "--autoindent", N_("Automatically indent new lines"));