Allow tab commands and their titles to be read from a file on the command line.

# Examples below:
title Heading to earth;; command: ssh earth
title Top this!;; top

Original patch by Thomas Dreibholz; hacking/changes/bugs are all mine.

BUG: 235410

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1121586
This commit is contained in:
Kurt Hindenburg
2010-05-01 20:11:55 +00:00
parent b78a3f75a1
commit 024bcfdbec
3 changed files with 117 additions and 4 deletions

View File

@@ -95,6 +95,7 @@ void fillCommandLineOptions(KCmdLineOptions& options)
" and bring to the front when the F12"
" key is pressed"));
options.add("new-tab",ki18n("Create a new tab in an existing window rather than creating a new window"));
options.add("tabs-from-file <file>", ki18n("Create tabs as specified in given tabs configuration file"));
options.add("workdir <dir>", ki18n("Set the initial working directory of the new tab "
"or window to 'dir'"));
options.add("notransparency",ki18n("Disable transparent backgrounds, even if the system supports them."));