- Added --working-directory to the manpage.

- Added a metavar option to the --working-directory parser
  configuration, to make it's help text a touch prettier.
This commit is contained in:
Jamu Kakar 2009-01-27 11:19:01 -08:00
parent 6f7a595d27
commit 97700f2d7d
2 changed files with 5 additions and 2 deletions

View File

@ -52,6 +52,9 @@ Runs the specified command instead of your default shell or profile specified co
.TP
.B \-x, \-\-execute=COMMAND [ARGS]
Runs \fBthe rest of the command line\fR instead of your default shell or profile specified command.
.TP
.B \-\-working\-directory=DIR
Set the terminal's working directory
.SH "KEYBINDINGS"
The following keybindings can be used to control Terminator:
.TP

View File

@ -101,8 +101,8 @@ if __name__ == '__main__':
parser.add_option ("-x", "--execute", dest="execute", action="callback",
callback=execute_cb, help="Execute the remainder of the command line \
inside the terminal")
parser.add_option ("--working-directory", dest="working_directory",
help="Set the terminal's working directory")
parser.add_option ("--working-directory", metavar="DIR",
dest="working_directory", help="Set the terminal's working directory")
for item in ['--sm-client-id', '--sm-config-prefix', '--screen']:
parser.add_option (item, dest="dummy", action="store", help=SUPPRESS_HELP)