[dev] [st] [PATCH 2/2] Make -e behave as -- for compatibility.

From: noname <noname_AT_inventati.org>
Date: Mon, 13 Apr 2015 17:37:52 +0000

---
 st.c | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/st.c b/st.c
index 6c9ba5c..5469a2c 100644
--- a/st.c
+++ b/st.c
_AT_@ -4034,6 +4034,11 @@ main(int argc, char *argv[]) {
 	case 'c':
 		opt_class = EARGF(usage());
 		break;
+	case 'e':
+		/* xterm/rxvt compatibility */
+		*argv[0] = '-';
+		argc++, argv--;
+		break;
 	case 'f':
 		opt_font = EARGF(usage());
 		break;
-- 
1.8.4
Received on Mon Apr 13 2015 - 19:37:52 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 13 2015 - 19:48:12 CEST