Reordered --help usage listing by alpha
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
e34f96dec2
commit
d55655f23a
|
@ -1,6 +1,10 @@
|
||||||
CVS code -
|
CVS code -
|
||||||
- faq.html:
|
- faq.html:
|
||||||
- Fix typos and small mistakes (Jordi).
|
- 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
|
nano 0.9.24 - 12/18/2000
|
||||||
General
|
General
|
||||||
|
|
15
nano.c
15
nano.c
|
@ -367,12 +367,12 @@ void usage(void)
|
||||||
(" -c --const Constantly show cursor position\n"));
|
(" -c --const Constantly show cursor position\n"));
|
||||||
printf(_
|
printf(_
|
||||||
(" -h --help Show this message\n"));
|
(" -h --help Show this message\n"));
|
||||||
|
printf(_
|
||||||
|
(" -i --autoindent Automatically indent new lines\n"));
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
printf(_
|
printf(_
|
||||||
(" -k --cut Let ^K cut from cursor to end of line\n"));
|
(" -k --cut Let ^K cut from cursor to end of line\n"));
|
||||||
#endif
|
#endif
|
||||||
printf(_
|
|
||||||
(" -i --autoindent Automatically indent new lines\n"));
|
|
||||||
printf(_
|
printf(_
|
||||||
(" -l --nofollow Don't follow symbolic links, overwrite\n"));
|
(" -l --nofollow Don't follow symbolic links, overwrite\n"));
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
|
@ -380,11 +380,11 @@ void usage(void)
|
||||||
printf(_(" -m --mouse Enable mouse\n"));
|
printf(_(" -m --mouse Enable mouse\n"));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
printf(_
|
||||||
|
(" -p --pico Emulate Pico as closely as possible\n"));
|
||||||
printf
|
printf
|
||||||
(_
|
(_
|
||||||
(" -r [#cols] --fill=[#cols] Set fill cols to (wrap lines at) #cols\n"));
|
(" -r [#cols] --fill=[#cols] Set fill cols to (wrap lines at) #cols\n"));
|
||||||
printf(_
|
|
||||||
(" -p --pico Emulate Pico as closely as possible\n"));
|
|
||||||
printf(_
|
printf(_
|
||||||
(" -s [prog] --speller=[prog] Enable alternate speller\n"));
|
(" -s [prog] --speller=[prog] Enable alternate speller\n"));
|
||||||
printf(_
|
printf(_
|
||||||
|
@ -407,10 +407,10 @@ void usage(void)
|
||||||
printf(_(" -V Print version information and exit\n"));
|
printf(_(" -V Print version information and exit\n"));
|
||||||
printf(_(" -c Constantly show cursor position\n"));
|
printf(_(" -c Constantly show cursor position\n"));
|
||||||
printf(_(" -h Show this message\n"));
|
printf(_(" -h Show this message\n"));
|
||||||
|
printf(_(" -i Automatically indent new lines\n"));
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
printf(_(" -k Let ^K cut from cursor to end of line\n"));
|
printf(_(" -k Let ^K cut from cursor to end of line\n"));
|
||||||
#endif
|
#endif
|
||||||
printf(_(" -i Automatically indent new lines\n"));
|
|
||||||
printf(_
|
printf(_
|
||||||
(" -l Don't follow symbolic links, overwrite\n"));
|
(" -l Don't follow symbolic links, overwrite\n"));
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
|
@ -418,10 +418,9 @@ void usage(void)
|
||||||
printf(_(" -m Enable mouse\n"));
|
printf(_(" -m Enable mouse\n"));
|
||||||
#endif
|
#endif
|
||||||
#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(_(" -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(_(" -t Auto save on exit, don't prompt\n"));
|
||||||
printf(_(" -v View (read only) mode\n"));
|
printf(_(" -v View (read only) mode\n"));
|
||||||
printf(_(" -w Don't wrap long lines\n"));
|
printf(_(" -w Don't wrap long lines\n"));
|
||||||
|
|
Loading…
Reference in New Issue