# HG changeset patch # User Andrew Innes # Date 949880263 0 # Node ID 9de718d5635c5714cdcf00e5c7946a69b472538d # Parent 79dc811783decccf5abfefdef2b2a3391d4d3c24 (USAGE): Split into USAGE1 and USAGE2, to work-around the string constant limit (2048 bytes) in MSVC. (main): Ditto. diff -r 79dc811783de -r 9de718d5635c src/emacs.c --- a/src/emacs.c Sun Feb 06 23:37:42 2000 +0000 +++ b/src/emacs.c Sun Feb 06 23:37:43 2000 +0000 @@ -201,7 +201,7 @@ static void sort_args (); void syms_of_emacs (); -#define USAGE "\ +#define USAGE1 "\ Usage: %s [OPTION-OR-FILENAME]...\n\ \n\ Run Emacs, the extensible, customizable, self-documenting real-time\n\ @@ -239,7 +239,9 @@ --kill exit without asking for confirmation\n\ --load, -l FILE load FILE of Emacs Lisp code using the load function\n\ --visit FILE visit FILE\n\ -\n\ +\n" + +#define USAGE2 "\ Display options:\n\ \n\ --background-color, -bg COLOR window background color\n\ @@ -939,7 +941,8 @@ /* Handle the --help option, which gives a usage message.. */ if (argmatch (argv, argc, "-help", "--help", 3, NULL, &skip_args)) { - printf (USAGE, argv[0]); + printf (USAGE1, argv[0]); + printf (USAGE2); exit (0); }