docs: fix up man and usage for --title

This commit is contained in:
Simon Gomizelj 2013-06-13 02:58:40 -04:00
parent 491bd56449
commit 661ededa76
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -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);