Mercurial > emacs
comparison src/emacs.c @ 27627:9de718d5635c
(USAGE): Split into USAGE1 and USAGE2, to work-around
the string constant limit (2048 bytes) in MSVC.
(main): Ditto.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sun, 06 Feb 2000 23:37:43 +0000 |
parents | 3d62fa3917d1 |
children | 9400865ec7cf |
comparison
equal
deleted
inserted
replaced
27626:79dc811783de | 27627:9de718d5635c |
---|---|
199 int initial_argc; | 199 int initial_argc; |
200 | 200 |
201 static void sort_args (); | 201 static void sort_args (); |
202 void syms_of_emacs (); | 202 void syms_of_emacs (); |
203 | 203 |
204 #define USAGE "\ | 204 #define USAGE1 "\ |
205 Usage: %s [OPTION-OR-FILENAME]...\n\ | 205 Usage: %s [OPTION-OR-FILENAME]...\n\ |
206 \n\ | 206 \n\ |
207 Run Emacs, the extensible, customizable, self-documenting real-time\n\ | 207 Run Emacs, the extensible, customizable, self-documenting real-time\n\ |
208 display editor. The recommended way to start Emacs for normal editing\n\ | 208 display editor. The recommended way to start Emacs for normal editing\n\ |
209 is with no options at all.\n\ | 209 is with no options at all.\n\ |
237 --funcall, -f FUNC call Emacs function FUNC with no arguments\n\ | 237 --funcall, -f FUNC call Emacs function FUNC with no arguments\n\ |
238 --insert FILE insert contents of FILE into current buffer\n\ | 238 --insert FILE insert contents of FILE into current buffer\n\ |
239 --kill exit without asking for confirmation\n\ | 239 --kill exit without asking for confirmation\n\ |
240 --load, -l FILE load FILE of Emacs Lisp code using the load function\n\ | 240 --load, -l FILE load FILE of Emacs Lisp code using the load function\n\ |
241 --visit FILE visit FILE\n\ | 241 --visit FILE visit FILE\n\ |
242 \n\ | 242 \n" |
243 | |
244 #define USAGE2 "\ | |
243 Display options:\n\ | 245 Display options:\n\ |
244 \n\ | 246 \n\ |
245 --background-color, -bg COLOR window background color\n\ | 247 --background-color, -bg COLOR window background color\n\ |
246 --border-color, -bd COLOR main border color\n\ | 248 --border-color, -bd COLOR main border color\n\ |
247 --border-width, -bw WIDTH width of main border\n\ | 249 --border-width, -bw WIDTH width of main border\n\ |
937 noninteractive = 1; | 939 noninteractive = 1; |
938 | 940 |
939 /* Handle the --help option, which gives a usage message.. */ | 941 /* Handle the --help option, which gives a usage message.. */ |
940 if (argmatch (argv, argc, "-help", "--help", 3, NULL, &skip_args)) | 942 if (argmatch (argv, argc, "-help", "--help", 3, NULL, &skip_args)) |
941 { | 943 { |
942 printf (USAGE, argv[0]); | 944 printf (USAGE1, argv[0]); |
945 printf (USAGE2); | |
943 exit (0); | 946 exit (0); |
944 } | 947 } |
945 | 948 |
946 if (! noninteractive) | 949 if (! noninteractive) |
947 { | 950 { |