Bring some consistency to command line switches
authorSteve Youngs <steve@sxemacs.org>
Sun, 10 May 2015 00:17:23 +0000 (10:17 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sun, 10 May 2015 00:17:23 +0000 (10:17 +1000)
commit01ee95f714416d9966727aad1f66a01ff2c3f540
tree1083e4989ed1eb0cb8e062b09a27159add43d226
parentccf396e4aaaa572f1a3fe927dc482331dd016ee1
Bring some consistency to command line switches

We have UNIX style single dash cmdline long-opts, and GNU style double
dash cmdline long-opts, but not every single dash long-opt has a
corresponding double dash long-opt, and vice verse.  This changeset
rectifies that.

* lisp/startup.el (command-line-early): Add missing GNU style
`--long-option' for all `-long-option' that were lacking it.
(startup-setup-paths): ditto.
(command-switch-alist): Add `-h'.

* info/sxemacs/cmdargs.texi: Add missing command switches.

* src/emacs.c (main_1): Add `-show-dump-id', `-terminal',
`-no-dump-file', `-color-terminal', `-no-windows', `-h' command
switches.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
info/sxemacs/cmdargs.texi
lisp/startup.el
src/emacs.c