diff options
author | Andrew Innes <andrewi@gnu.org> | 2000-02-06 23:37:43 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 2000-02-06 23:37:43 +0000 |
commit | 73ebcd259ea3f2e608d5ab49326e86c41c364dae (patch) | |
tree | 167ee8f3d702d3210d576d6c1eef24d1f26f24c3 /src/emacs.c | |
parent | 4397e334f1c173a835c8ddcef6c23c85fc9fc91a (diff) | |
download | emacs-73ebcd259ea3f2e608d5ab49326e86c41c364dae.tar.gz |
(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; 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 @@ FILE visit FILE using find-file\n\ --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 @@ main (argc, argv, envp) /* 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); } |