nano

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

commit 9a59cddcd46a9eca17bd95258e667ec492aebb78
parent 6ab754676a6e87a586687b9c860dee477923c052
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 13 Mar 2020 15:54:24 +0100

options: rename --suspend to --suspendable, to make more sense

Diffstat:
Msrc/nano.c | 4++--
Msrc/rcfile.c | 3++-
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -669,7 +669,7 @@ void usage(void) print_opt("-y", "--afterends", N_("Make Ctrl+Right stop at word ends")); #endif if (!ISSET(RESTRICTED)) - print_opt("-z", "--suspend", N_("Enable suspension")); + print_opt("-z", "--suspendable", N_("Enable suspension")); #ifndef NANO_TINY print_opt("-$", "--softwrap", N_("Enable soft line wrapping")); #endif @@ -1805,7 +1805,7 @@ int main(int argc, char **argv) {"nowrap", 0, NULL, 'w'}, #endif {"nohelp", 0, NULL, 'x'}, - {"suspend", 0, NULL, 'z'}, + {"suspendable", 0, NULL, 'z'}, #ifndef NANO_TINY {"smarthome", 0, NULL, 'A'}, {"backup", 0, NULL, 'B'}, diff --git a/src/rcfile.c b/src/rcfile.c @@ -89,7 +89,8 @@ static const rcoption rcopts[] = { #ifdef ENABLE_SPELLER {"speller", 0}, #endif - {"suspend", SUSPEND}, + {"suspend", SUSPEND}, /* Deprecated; remove in 2022. */ + {"suspendable", SUSPEND}, {"tabsize", 0}, {"tempfile", TEMP_FILE}, {"view", VIEW_MODE},