diff options
| author | Andrew Innes | 2000-02-06 23:37:43 +0000 |
|---|---|---|
| committer | Andrew Innes | 2000-02-06 23:37:43 +0000 |
| commit | 73ebcd259ea3f2e608d5ab49326e86c41c364dae (patch) | |
| tree | 167ee8f3d702d3210d576d6c1eef24d1f26f24c3 /src/emacs.c | |
| parent | 4397e334f1c173a835c8ddcef6c23c85fc9fc91a (diff) | |
| download | emacs-73ebcd259ea3f2e608d5ab49326e86c41c364dae.tar.gz emacs-73ebcd259ea3f2e608d5ab49326e86c41c364dae.zip | |
(USAGE): Split into USAGE1 and USAGE2, to work-around
the string constant limit (2048 bytes) in MSVC.
(main): Ditto.
Diffstat (limited to 'src/emacs.c')
| -rw-r--r-- | src/emacs.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/emacs.c b/src/emacs.c index fcda6a6c23a..dd2e4b10f3f 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -201,7 +201,7 @@ int initial_argc; | |||
| 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\ |
| @@ -239,7 +239,9 @@ FILE visit FILE using find-file\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\ |
| @@ -939,7 +941,8 @@ main (argc, argv, envp) | |||
| 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 | ||