This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/36/head
in repository terminology.

View the commit online.

commit 8a40972e05fede186257060d7546f70bf9926896
Author: [email protected] <[email protected]>
AuthorDate: Thu Mar 19 22:08:22 2026 -0600

    feat: rename --session CLI flag to --tymux
    
    The flag --tymux is more intuitive and consistent with the feature
    name. Updated both the ECORE_GETOPT option in main.c and the
    execlp call in tymux.c cmd_new.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---
 src/bin/main.c  | 2 +-
 src/bin/tymux.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 5d03db12..c618ac5e 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -529,7 +529,7 @@ static Ecore_Getopt options = {
       ECORE_GETOPT_STORE_BOOL('\0', "no-wizard",
                               gettext_noop("Do not display wizard on start up")),
 #ifdef HAVE_TYMUX
-      ECORE_GETOPT_STORE_STR('\0', "session",
+      ECORE_GETOPT_STORE_STR('\0', "tymux",
                              gettext_noop("Attach first terminal to a named persistent tymux session")),
 #endif
 
diff --git a/src/bin/tymux.c b/src/bin/tymux.c
index ead76108..c4e425c1 100644
--- a/src/bin/tymux.c
+++ b/src/bin/tymux.c
@@ -791,7 +791,7 @@ cmd_new(int argc, char **argv)
    setenv("TYMUX_SESSION", name, 1);
 
    /* Replace this process with terminology, connecting to the new session. */
-   execlp("terminology", "terminology", "--session", name, (char *)NULL);
+   execlp("terminology", "terminology", "--tymux", name, (char *)NULL);
    perror("tymux: exec terminology");
    return 1;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to