Subject: bug#59422: [PATCH] * src/emacs.c (usage_message): Add missing --init-directory entry

From: Philip Kaludercic <[email-masked]>
Date: Sun, 20 Nov 2022 21:52:09 +0000

Tags: patch

It appears this was not documented via --help when added.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.34, cairo version 1.16.0) of 2022-11-19 built on quetzal
Repository revision: db3ff76dc7d3184e51cb7ed17c78ef76babb9032
Repository branch: master
System Description: Debian GNU/Linux bookworm/sid

Configured using:
 'configure --with-pgtk --with-imagemagick'

>From 12a15353110cd6d4d57fb13ba2af9195078e6ac3 Mon Sep 17 00:00:00 2001
From: Philip Kaludercic <[email-masked]>
Date: Sun, 20 Nov 2022 22:51:14 +0100
Subject: [PATCH] * src/emacs.c (usage_message): Add missing --init-directory
 entry

---
 src/emacs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/emacs.c b/src/emacs.c
index 85102acd28..bbcd0be74c 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -291,6 +291,7 @@ #define MAIN_PROGRAM
 --no-site-lisp, -nsl        do not add site-lisp directories to load-path\n\
 --no-splash                 do not display a splash screen on startup\n\
 --no-window-system, -nw     do not communicate with X, ignoring $DISPLAY\n\
+--init-directory=DIR        use DIR to use when looking for the Emacs init files.\n\
 ",
     "\
 --quick, -Q                 equivalent to:\n\
-- 
2.35.1