#ifdef'ed -k option for not NANO_SMALL b/c it requires the marker code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@103 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/nano.c b/nano.c
index 5583813..2bc165c 100644
--- a/nano.c
+++ b/nano.c
@@ -323,8 +323,10 @@
(" -c --const Constantly show cursor position\n"));
printf(_
(" -h --help Show this message\n"));
+#ifndef NANO_SMALL
printf(_
(" -k --cut Let ^K cut from cursor to end of line\n"));
+#endif
printf(_
(" -i --autoindent Automatically indent new lines\n"));
printf(_
@@ -363,7 +365,9 @@
printf(_(" -V Print version information and exit\n"));
printf(_(" -c Constantly show cursor position\n"));
printf(_(" -h Show this message\n"));
+#ifndef NANO_SMALL
printf(_(" -k Let ^K cut from cursor to end of line\n"));
+#endif
printf(_(" -i Automatically indent new lines\n"));
printf(_
(" -l Don't follow symbolic links, overwrite.\n"));
@@ -1545,7 +1549,9 @@
{"nowrap", 0, 0, 'w'},
{"nohelp", 0, 0, 'x'},
{"help", 0, 0, 'h'},
+#ifndef NANO_SMALL
{"cut", 0, 0, 'k'},
+#endif
{"autoindent", 0, 0, 'i'},
{"tempfile", 0, 0, 't'},
{"speller", 1, 0, 's'},
@@ -1608,9 +1614,11 @@
case 'i':
SET(AUTOINDENT);
break;
+#ifndef NANO_SMALL
case 'k':
SET(CUT_TO_END);
break;
+#endif
case 'l':
UNSET(FOLLOW_SYMLINKS);
break;