* keep the help items nicely paired also in restricted mode. */
if (TRUE) {
#endif
- add_to_funcs(do_insertfile_void, MMAIN,
- read_file_tag, IFSCHELP(nano_insert_msg), BLANKAFTER,
+ add_to_funcs(do_insertfile_void, MMAIN,
+ read_file_tag, IFSCHELP(nano_insert_msg), BLANKAFTER,
/* We allow inserting files in view mode if multibuffer mode
* is switched on, so that we can view multiple files. */
#ifndef DISABLE_MULTIBUFFER
- VIEW);
+ VIEW);
#else
- NOVIEW);
+ NOVIEW);
#endif
} else {
#ifndef DISABLE_JUSTIFY
- add_to_funcs(do_justify_void, MMAIN,
- N_("Justify"), IFSCHELP(nano_justify_msg), BLANKAFTER, NOVIEW);
+ add_to_funcs(do_justify_void, MMAIN,
+ N_("Justify"), IFSCHELP(nano_justify_msg), BLANKAFTER, NOVIEW);
#endif
}
/* Remember the entry for Uncut, to be able to replace it with Unjustify. */
uncutfunc = tailfunc;
-if (!ISSET(RESTRICTED)) {
+ if (!ISSET(RESTRICTED)) {
#ifndef DISABLE_JUSTIFY
- add_to_funcs(do_justify_void, MMAIN,
- N_("Justify"), IFSCHELP(nano_justify_msg), TOGETHER, NOVIEW);
+ add_to_funcs(do_justify_void, MMAIN,
+ N_("Justify"), IFSCHELP(nano_justify_msg), TOGETHER, NOVIEW);
#endif
#ifndef DISABLE_SPELLER
- add_to_funcs(do_spell, MMAIN,
- N_("To Spell"), IFSCHELP(nano_spell_msg), TOGETHER, NOVIEW);
+ add_to_funcs(do_spell, MMAIN,
+ N_("To Spell"), IFSCHELP(nano_spell_msg), TOGETHER, NOVIEW);
#endif
-
#ifndef DISABLE_COLOR
- add_to_funcs(do_linter, MMAIN,
- N_("To Linter"), IFSCHELP(nano_lint_msg), TOGETHER, NOVIEW);
+ add_to_funcs(do_linter, MMAIN,
+ N_("To Linter"), IFSCHELP(nano_lint_msg), TOGETHER, NOVIEW);
#ifndef DISABLE_SPELLER
- add_to_funcs(do_formatter, MMAIN,
- N_("Formatter"), IFSCHELP(nano_formatter_msg), BLANKAFTER, NOVIEW);
+ add_to_funcs(do_formatter, MMAIN,
+ N_("Formatter"), IFSCHELP(nano_formatter_msg), BLANKAFTER, NOVIEW);
#endif
#endif
-}
+ }
#ifndef NANO_TINY
add_to_funcs(case_sens_void, MWHEREIS|MREPLACE,
#ifndef NANO_TINY
print_opt("-A", "--smarthome", N_("Enable smart home key"));
if (!ISSET(RESTRICTED)) {
- print_opt("-B", "--backup", N_("Save backups of existing files"));
- print_opt(_("-C <dir>"), _("--backupdir=<dir>"),
- N_("Directory for saving unique backup files"));
+ print_opt("-B", "--backup", N_("Save backups of existing files"));
+ print_opt(_("-C <dir>"), _("--backupdir=<dir>"),
+ N_("Directory for saving unique backup files"));
}
#endif
print_opt("-D", "--boldtext", N_("Use bold instead of reverse video text"));
#endif
#ifndef DISABLE_MULTIBUFFER
if (!ISSET(RESTRICTED))
- print_opt("-F", "--multibuffer",
- N_("Read a file into a new buffer by default"));
+ print_opt("-F", "--multibuffer",
+ N_("Read a file into a new buffer by default"));
#endif
#ifndef NANO_TINY
print_opt("-G", "--locking", N_("Use (vim-style) lock files"));
#endif
#ifndef DISABLE_HISTORIES
if (!ISSET(RESTRICTED))
- print_opt("-H", "--historylog",
- N_("Log & read search/replace string history"));
+ print_opt("-H", "--historylog",
+ N_("Log & read search/replace string history"));
#endif
#ifndef DISABLE_NANORC
if (!ISSET(RESTRICTED))
- print_opt("-I", "--ignorercfiles", N_("Don't look at nanorc files"));
+ print_opt("-I", "--ignorercfiles", N_("Don't look at nanorc files"));
#endif
print_opt("-K", "--rebindkeypad",
N_("Fix numeric keypad key confusion problem"));
print_opt("-O", "--morespace", N_("Use one more line for editing"));
#ifndef DISABLE_HISTORIES
if (!ISSET(RESTRICTED))
- print_opt("-P", "--positionlog", N_("Log & read location of cursor position"));
+ print_opt("-P", "--positionlog",
+ N_("Log & read location of cursor position"));
#endif
#ifndef DISABLE_JUSTIFY
print_opt(_("-Q <str>"), _("--quotestr=<str>"), N_("Quoting string"));
#endif
if (!ISSET(RESTRICTED))
- print_opt("-R", "--restricted", N_("Restricted mode"));
+ print_opt("-R", "--restricted", N_("Restricted mode"));
#ifndef NANO_TINY
print_opt("-S", "--smooth", N_("Scroll by line instead of half-screen"));
#endif
#endif
#ifndef DISABLE_COLOR
if (!ISSET(RESTRICTED))
- print_opt(_("-Y <str>"), _("--syntax=<str>"),
- N_("Syntax definition to use for coloring"));
+ print_opt(_("-Y <str>"), _("--syntax=<str>"),
+ N_("Syntax definition to use for coloring"));
#endif
print_opt("-c", "--constantshow", N_("Constantly show cursor position"));
print_opt("-d", "--rebinddelete",
print_opt("-p", "--preserve", N_("Preserve XON (^Q) and XOFF (^S) keys"));
#ifndef DISABLE_NANORC
if (!ISSET(RESTRICTED))
- print_opt("-q", "--quiet",
- N_("Silently ignore startup issues like rc file errors"));
+ print_opt("-q", "--quiet",
+ N_("Silently ignore startup issues like rc file errors"));
#endif
#ifndef DISABLE_WRAPJUSTIFY
print_opt(_("-r <#cols>"), _("--fill=<#cols>"),
#endif
#ifndef DISABLE_SPELLER
if (!ISSET(RESTRICTED))
- print_opt(_("-s <prog>"), _("--speller=<prog>"),
- N_("Enable alternate speller"));
+ print_opt(_("-s <prog>"), _("--speller=<prog>"),
+ N_("Enable alternate speller"));
#endif
print_opt("-t", "--tempfile", N_("Auto save on exit, don't prompt"));
print_opt("-v", "--view", N_("View mode (read-only)"));
#endif
print_opt("-x", "--nohelp", N_("Don't show the two help lines"));
if (!ISSET(RESTRICTED))
- print_opt("-z", "--suspend", N_("Enable suspension"));
+ print_opt("-z", "--suspend", N_("Enable suspension"));
#ifndef NANO_TINY
print_opt("-$", "--softwrap", N_("Enable soft line wrapping"));
#endif