commit d55655f23ac862d85e66851311e3b146435ab775
parent e34f96dec2500b925067fb154f00ba73947aa76d
Author: Chris Allegretta <chrisa@asty.org>
Date: Wed, 27 Dec 2000 03:36:47 +0000
Reordered --help usage listing by alpha
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,6 +1,10 @@
CVS code -
- faq.html:
- Fix typos and small mistakes (Jordi).
+- nano.c:
+ main()
+ - Reorder the getopt options to be more or less alphabetical
+ (suggested by Sven Guckes).
nano 0.9.24 - 12/18/2000
General
diff --git a/nano.c b/nano.c
@@ -367,25 +367,25 @@ void usage(void)
(" -c --const Constantly show cursor position\n"));
printf(_
(" -h --help Show this message\n"));
+ printf(_
+ (" -i --autoindent Automatically indent new lines\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(_
(" -l --nofollow Don't follow symbolic links, overwrite\n"));
#ifndef NANO_SMALL
#ifdef NCURSES_MOUSE_VERSION
printf(_(" -m --mouse Enable mouse\n"));
#endif
#endif
+ printf(_
+ (" -p --pico Emulate Pico as closely as possible\n"));
printf
(_
(" -r [#cols] --fill=[#cols] Set fill cols to (wrap lines at) #cols\n"));
printf(_
- (" -p --pico Emulate Pico as closely as possible\n"));
- printf(_
(" -s [prog] --speller=[prog] Enable alternate speller\n"));
printf(_
(" -t --tempfile Auto save on exit, don't prompt\n"));
@@ -407,10 +407,10 @@ void usage(void)
printf(_(" -V Print version information and exit\n"));
printf(_(" -c Constantly show cursor position\n"));
printf(_(" -h Show this message\n"));
+ printf(_(" -i Automatically indent new lines\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"));
#ifndef NANO_SMALL
@@ -418,10 +418,9 @@ void usage(void)
printf(_(" -m Enable mouse\n"));
#endif
#endif
- printf(_
- (" -r [#cols] Set fill cols to (wrap lines at) #cols\n"));
- printf(_(" -s [prog] Enable alternate speller\n"));
printf(_(" -p Emulate Pico as closely as possible\n"));
+ printf(_(" -r [#cols] Set fill cols to (wrap lines at) #cols\n"));
+ printf(_(" -s [prog] Enable alternate speller\n"));
printf(_(" -t Auto save on exit, don't prompt\n"));
printf(_(" -v View (read only) mode\n"));
printf(_(" -w Don't wrap long lines\n"));