aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 5f5251c238d..686a784e10c 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -927,16 +927,6 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\
927 tzset (); 927 tzset ();
928#endif /* defined (sun) || defined (LOCALTIME_CACHE) */ 928#endif /* defined (sun) || defined (LOCALTIME_CACHE) */
929 929
930 /* Handle the GNU standard option --version. */
931 if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args))
932 {
933 Lisp_Object ver;
934 ver = call0 (intern ("emacs-version"));
935 if (STRINGP (ver))
936 printf ("%s\n", XSTRING (ver)->data);
937 exit (0);
938 }
939
940 /* Enter editor command loop. This never returns. */ 930 /* Enter editor command loop. This never returns. */
941 Frecursive_edit (); 931 Frecursive_edit ();
942 /* NOTREACHED */ 932 /* NOTREACHED */
@@ -957,6 +947,8 @@ struct standard_args
957 947
958struct standard_args standard_args[] = 948struct standard_args standard_args[] =
959{ 949{
950 { "-version", "--version", 110, 0 },
951 { "-help", "--help", 110, 0 },
960 { "-nl", "--no-shared-memory", 100, 0 }, 952 { "-nl", "--no-shared-memory", 100, 0 },
961#ifdef VMS 953#ifdef VMS
962 { "-map", "--map-data", 100, 0 }, 954 { "-map", "--map-data", 100, 0 },