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
dc1cd5f7
Commit
dc1cd5f7
authored
Oct 13, 2008
by
Dan Nicolaescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(longopts, print_help_and_exit): Add -nw.
(decode_options): Use getopt_long_only.
parent
5870cb76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lib-src/ChangeLog
lib-src/ChangeLog
+5
-0
lib-src/emacsclient.c
lib-src/emacsclient.c
+3
-2
No files found.
lib-src/ChangeLog
View file @
dc1cd5f7
2008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
* emacsclient.c (longopts, print_help_and_exit): Add -nw.
(decode_options): Use getopt_long_only.
2008-09-30 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
...
...
lib-src/emacsclient.c
View file @
dc1cd5f7
...
...
@@ -156,6 +156,7 @@ struct option longopts[] =
{
"help"
,
no_argument
,
NULL
,
'H'
},
{
"version"
,
no_argument
,
NULL
,
'V'
},
{
"tty"
,
no_argument
,
NULL
,
't'
},
{
"nw"
,
no_argument
,
NULL
,
't'
},
{
"create-frame"
,
no_argument
,
NULL
,
'c'
},
{
"alternate-editor"
,
required_argument
,
NULL
,
'a'
},
#ifndef NO_SOCKETS_IN_FILE_SYSTEM
...
...
@@ -474,7 +475,7 @@ decode_options (argc, argv)
while
(
1
)
{
int
opt
=
getopt_long
(
argc
,
argv
,
int
opt
=
getopt_long
_only
(
argc
,
argv
,
#ifndef NO_SOCKETS_IN_FILE_SYSTEM
"VHnea:s:f:d:tc"
,
#else
...
...
@@ -601,7 +602,7 @@ Every FILE can be either just a FILENAME or [+LINE[:COLUMN]] FILENAME.\n\
The following OPTIONS are accepted:
\n
\
-V, --version Just print version info and return
\n
\
-H, --help Print this usage information message
\n
\
-t, --tty
Open a new Emacs frame on the current terminal
\n
\
-nw,
-t, --tty Open a new Emacs frame on the current terminal
\n
\
-c, --create-frame Create a new frame instead of trying to
\n
\
use the current Emacs frame
\n
\
-e, --eval Evaluate the FILE arguments as ELisp expressions
\n
\
...
...
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