From 661ededa76c37bd4be5c8593001e44fcc92bc7bf Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Thu, 13 Jun 2013 02:58:40 -0400 Subject: [PATCH] docs: fix up man and usage for --title --- termite.1 | 3 +++ termite.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/termite.1 b/termite.1 index a11108a..a9371e4 100644 --- a/termite.1 +++ b/termite.1 @@ -20,6 +20,9 @@ The role to set the termite window to report itself with. Tell termite to change to \fIDIRECTORY\fP when launching. .IP "\fB\-e\fR, \fB\-\-exec\fR\fB=\fR\fICOMMAND\fR" Tell termite start \fICOMMAND\fP instead of the shell. +.IP "\fB\-t\fR, \fB\-\-title\fR\fB=\fR\fITITLE\fR" +Set the termite window's title to \fITITLE\fP. This disables dynamic +titles. .IP "\fB\-c\fR, \fB\-\-config\fR\fB=\fR\fICONFIG\fR" Specify a path to an alternative config file to use. .IP "\fB\-\-geometry\fR\fB=\fR\fIGEOMETRY\fR" diff --git a/termite.cc b/termite.cc index dc9119b..f19ae35 100644 --- a/termite.cc +++ b/termite.cc @@ -1256,10 +1256,10 @@ int main(int argc, char **argv) { {"geometry", 0, 0, G_OPTION_ARG_STRING, &geometry, "Window geometry", "GEOMETRY"}, {"directory", 'd', 0, G_OPTION_ARG_STRING, &directory, "Change to directory", "DIRECTORY"}, {"exec", 'e', 0, G_OPTION_ARG_STRING, &execute, "Command to execute", "COMMAND"}, + {"title", 't', 0, G_OPTION_ARG_STRING, &title, "Window title", "TITLE"}, {"version", 'v', 0, G_OPTION_ARG_NONE, &version, "Version info", nullptr}, {"hold", 0, 0, G_OPTION_ARG_NONE, &hold, "Remain open after child process exits", nullptr}, {"config", 'c', 0, G_OPTION_ARG_STRING, &config_file, "Path of config file", "CONFIG"}, - {"title", 't', 0, G_OPTION_ARG_STRING, &title, "Window title", nullptr}, {} }; g_option_context_add_main_entries(context, entries, nullptr);