options: rename --suspend to --suspendable, to make more sense
parent
6ab754676a
commit
9a59cddcd4
|
@ -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'},
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue