Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
73ebcd25
Commit
73ebcd25
authored
Feb 06, 2000
by
Andrew Innes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(USAGE): Split into USAGE1 and USAGE2, to work-around
the string constant limit (2048 bytes) in MSVC. (main): Ditto.
parent
4397e334
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/emacs.c
src/emacs.c
+6
-3
No files found.
src/emacs.c
View file @
73ebcd25
...
...
@@ -201,7 +201,7 @@ int initial_argc;
static
void
sort_args
();
void
syms_of_emacs
();
#define USAGE "\
#define USAGE
1
"\
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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment