From: Greg Kroah-Hartman Date: Fri, 23 Jan 2009 19:08:43 +0000 (-0800) Subject: document the logfile option X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/commitdiff_plain/831399eedfdda3365e84ba2c5417b34d9ca4d08b?ds=sidebyside document the logfile option --- diff --git a/bti.1 b/bti.1 index 3fe86d9..f3237a7 100644 --- a/bti.1 +++ b/bti.1 @@ -171,7 +171,7 @@ bti \- send a tweet to twitter\&.com or identi\&.ca from the command line .SH "Synopsis" .fam C .HP \w'\fBbti\fR\ 'u -\fBbti\fR [\fB\-\-account\ account\fR] [\fB\-\-password\ password\fR] [\fB\-\-host\ HOST_NAME\fR] [\fB\-\-proxy\ PROXY:PORT\fR] [\fB\-\-bash\fR] [\fB\-\-debug\fR] [\fB\-\-version\fR] [\fB\-\-help\fR] +\fBbti\fR [\fB\-\-account\ account\fR] [\fB\-\-password\ password\fR] [\fB\-\-host\ HOST_NAME\fR] [\fB\-\-proxy\ PROXY:PORT\fR] [\fB\-\-logfile\ LOGFILE\fR] [\fB\-\-bash\fR] [\fB\-\-debug\fR] [\fB\-\-version\fR] [\fB\-\-help\fR] .fam .SH "DESCRIPTION" .PP @@ -202,6 +202,11 @@ Specify a http proxy value\&. This is not a required option, and only needed by If \-\-proxy is not specified but the environment variable \'http_proxy\' is set the latter will be used\&. .RE .PP +\fB\-\-logfile LOGFILE\fR +.RS 4 +Specify a logfile for bti to write status messages to\&. LOGFILE is in relation to the user\'s home directory, not an absolute path to a file\&. +.RE +.PP \fB\-\-debug\fR .RS 4 Print a whole bunch of debugging messages to stdout\&. @@ -263,6 +268,11 @@ The host you want to use to send the message to\&. Valid options are either "twi The http proxy needed to send data out to the Internet\&. .RE .PP +\fBlogfile\fR +.RS 4 +The logfile name for bti to write what happened to\&. This file is relative to the user\'s home directory\&. If this file is not specified here or on the command line, no logging will be written to the disk\&. +.RE +.PP There is an example config file called \FCbti\&.example\F[] in the source tree that shows the structure of the file if you need an example to work off of\&. diff --git a/bti.example b/bti.example index 580a9f4..bc97329 100644 --- a/bti.example +++ b/bti.example @@ -6,4 +6,5 @@ account=twitmaster password=icanhascheezburger host=identica +logfile=.bti.log #proxy=http://localhost:8080 diff --git a/bti.xml b/bti.xml index 96f424a..1b20586 100644 --- a/bti.xml +++ b/bti.xml @@ -30,6 +30,7 @@ + @@ -86,6 +87,16 @@ + + + + + Specify a logfile for bti to write status messages to. LOGFILE + is in relation to the user's home directory, not an absolute + path to a file. + + + @@ -198,6 +209,17 @@ + + + + + The logfile name for bti to write what happened to. + This file is relative to the user's home directory. If this + file is not specified here or on the command line, no logging + will be written to the disk. + + + There is an example config file called