comparison src/emacs.c @ 54101:e1a843eba96a

(USAGE1): Add --no-desktop. Move --display from USAGE2. Fix --multibyte. Move --help, --version to USAGE2. Add alias --file. Fix -f, -l. Sort options. Untabify. (USAGE2): Add -hb. Fix --name, --title. Sort options. Untabify.
author Eli Zaretskii <eliz@is.elta.co.il>
date Sat, 21 Feb 2004 13:24:15 +0000
parents 94e08e9831b0
children c7d9113f8f82
comparison
equal deleted inserted replaced
54100:1ea25044cd7d 54101:e1a843eba96a
230 Run M-x info RET m emacs RET m command arguments RET inside Emacs to\n\ 230 Run M-x info RET m emacs RET m command arguments RET inside Emacs to\n\
231 read the main documentation for these command-line arguments.\n\ 231 read the main documentation for these command-line arguments.\n\
232 \n\ 232 \n\
233 Initialization options:\n\ 233 Initialization options:\n\
234 \n\ 234 \n\
235 --batch do not do interactive display; implies -q\n\ 235 --batch do not do interactive display; implies -q\n\
236 --script FILE run FILE as an Emacs Lisp script.\n\ 236 --debug-init enable Emacs Lisp debugger for init file\n\
237 --debug-init enable Emacs Lisp debugger during init file\n\ 237 --display, -d DISPLAY use X server DISPLAY\n\
238 --help display this help message and exit\n\ 238 --multibyte, --no-unibyte inhibit the effect of EMACS_UNIBYTE\n\
239 --multibyte, --no-unibyte run Emacs in multibyte mode\n\ 239 --no-desktop do not load a saved desktop\n\
240 --no-init-file, -q load neither ~/.emacs nor default.el\n\ 240 --no-init-file, -q load neither ~/.emacs nor default.el\n\
241 --no-shared-memory, -nl do not use shared memory\n\ 241 --no-shared-memory, -nl do not use shared memory\n\
242 --no-site-file do not load site-start.el\n\ 242 --no-site-file do not load site-start.el\n\
243 --no-splash do not display a splash screen on startup\n\ 243 --no-splash do not display a splash screen on startup\n\
244 --no-window-system, -nw don't communicate with X, ignoring $DISPLAY\n\ 244 --no-window-system, -nw don't communicate with X, ignoring $DISPLAY\n\
245 --terminal, -t DEVICE use DEVICE for terminal I/O\n\ 245 --script FILE run FILE as an Emacs Lisp script\n\
246 --terminal, -t DEVICE use DEVICE for terminal I/O\n\
246 --unibyte, --no-multibyte run Emacs in unibyte mode\n\ 247 --unibyte, --no-multibyte run Emacs in unibyte mode\n\
247 --user, -u USER load ~USER/.emacs instead of your own\n\ 248 --user, -u USER load ~USER/.emacs instead of your own\n\
248 --version display version information and exit\n\
249 \n\ 249 \n\
250 Action options:\n\ 250 Action options:\n\
251 \n\ 251 \n\
252 FILE visit FILE using find-file\n\ 252 FILE visit FILE using find-file\n\
253 +LINE FILE visit FILE using find-file, then go to line LINE\n\ 253 +LINE FILE visit FILE using find-file, then go to line LINE\n\
254 +LINE:COLUMN FILE visit FILE using find-file, then go to line LINE,\n\ 254 +LINE:COLUMN FILE visit FILE using find-file, then go to line LINE,\n\
255 column COLUMN\n\ 255 column COLUMN\n\
256 --directory, -L DIR add DIR to variable load-path\n\ 256 --directory, -L DIR add DIR to variable load-path\n\
257 --eval EXPR evaluate Emacs Lisp expression EXPR\n\ 257 --eval EXPR evaluate Emacs Lisp expression EXPR\n\
258 --execute EXPR evaluate Emacs Lisp expression EXPR\n\ 258 --execute EXPR evaluate Emacs Lisp expression EXPR\n\
259 --find-file FILE visit FILE\n\ 259 --file FILE visit FILE using find-file\n\
260 --funcall, -f FUNC call Emacs function FUNC with no arguments\n\ 260 --find-file FILE visit FILE using find-file\n\
261 --insert FILE insert contents of FILE into current buffer\n\ 261 --funcall, -f FUNC call Emacs Lisp function FUNC with no arguments\n\
262 --kill exit without asking for confirmation\n\ 262 --insert FILE insert contents of FILE into current buffer\n\
263 --load, -l FILE load FILE of Emacs Lisp code using the load function\n\ 263 --kill exit without asking for confirmation\n\
264 --visit FILE visit FILE\n\ 264 --load, -l FILE load Emacs Lisp FILE using the load function\n\
265 --visit FILE visit FILE using find-file\n\
265 \n" 266 \n"
266 267
267 #define USAGE2 "\ 268 #define USAGE2 "\
268 Display options:\n\ 269 Display options:\n\
269 \n\ 270 \n\
270 --background-color, -bg COLOR window background color\n\ 271 --background-color, -bg COLOR window background color\n\
271 --border-color, -bd COLOR main border color\n\ 272 --border-color, -bd COLOR main border color\n\
272 --border-width, -bw WIDTH width of main border\n\ 273 --border-width, -bw WIDTH width of main border\n\
273 --color=MODE color mode for character terminals;\n\ 274 --color MODE color mode for character terminals;\n\
274 MODE defaults to `auto', and can also\n\ 275 MODE defaults to `auto', and can also\n\
275 be `never', `auto', `always',\n\ 276 be `never', `auto', `always',\n\
276 or a mode name like `ansi8'\n\ 277 or a mode name like `ansi8'\n\
277 --cursor-color, -cr COLOR color of the Emacs cursor indicating point\n\ 278 --cursor-color, -cr COLOR color of the Emacs cursor indicating point\n\
278 --display, -d DISPLAY use X server DISPLAY\n\ 279 --font, -fn FONT default font; must be fixed-width\n\
279 --font, -fn FONT default font; must be fixed-width\n\ 280 --foreground-color, -fg COLOR window foreground color\n\
280 --foreground-color, -fg COLOR window foreground color\n\ 281 --fullheight, -fh make the first frame high as the screen\n\
281 --fullscreen, -fs make first frame fullscreen\n\ 282 --fullscreen, -fs make first frame fullscreen\n\
282 --fullwidth, -fw make the first frame wide as the screen\n\ 283 --fullwidth, -fw make the first frame wide as the screen\n\
283 --fullheight, -fh make the first frame high as the screen\n\ 284 --geometry, -g GEOMETRY window geometry\n\
284 --geometry, -g GEOMETRY window geometry\n\ 285 --horizontal-scroll-bars, -hb enable horizontal scroll bars\n\
285 --iconic start Emacs in iconified state\n\ 286 --icon-type, -i use picture of gnu for Emacs icon\n\
286 --icon-type, -i use picture of gnu for Emacs icon\n\ 287 --iconic start Emacs in iconified state\n\
287 --internal-border, -ib WIDTH width between text and main border\n\ 288 --internal-border, -ib WIDTH width between text and main border\n\
288 --line-spacing, -lsp PIXELS additional space to put between lines\n\ 289 --line-spacing, -lsp PIXELS additional space to put between lines\n\
289 --mouse-color, -ms COLOR mouse cursor color in Emacs window\n\ 290 --mouse-color, -ms COLOR mouse cursor color in Emacs window\n\
290 --name NAME title of main Emacs window\n\ 291 --name NAME title for initial Emacs frame\n\
291 --reverse-video, -r, -rv switch foreground and background\n\ 292 --reverse-video, -r, -rv switch foreground and background\n\
292 --title, -T, -wn TITLE title for Emacs windows\n\ 293 --title, -T TITLE title for initial Emacs frame\n\
293 --vertical-scroll-bars, -vb enable vertical scroll bars\n\ 294 --vertical-scroll-bars, -vb enable vertical scroll bars\n\
294 --xrm XRESOURCES set additional X resources\n\ 295 --xrm XRESOURCES set additional X resources\n\
296 --help display this help and exit\n\
297 --version output version information and exit\n\
295 \n\ 298 \n\
296 You can generally also specify long option names with a single -; for\n\ 299 You can generally also specify long option names with a single -; for\n\
297 example, -batch as well as --batch. You can use any unambiguous\n\ 300 example, -batch as well as --batch. You can use any unambiguous\n\
298 abbreviation for a --option.\n\ 301 abbreviation for a --option.\n\
299 \n\ 302 \n\