Changeset 5631

Remove the -T option - it did nothing

Committed by:  mjagdis
Date:  Feb 10 2010 * 19:09 (6 months ago)

Affected files:

callweaver/trunk/callweaver.8 (unified diff)

r4926r5631
112112 When recording files, write them first into a temporary holding directory,
113113 then move them into the final location when done.
114114 .TP
115 \fB-T\fR
116 Add timestamp to all non-command related output going to the console
117 when running with verbose and/or logging to the console.
118 .TP
119115 \fB-U \fIuser\fB\fR
120116 Run as user \fIuser\fR instead of the
121117 calling user. \fBNOTE:\fR this requires substantial work

callweaver/trunk/callweaver.sgml (unified diff)

r5057r5631
223223 </listitem>
224224 </varlistentry>
225225 <varlistentry>
226 <term>-T</term>
227 <listitem>
228 <para>
229 Add timestamp to all non-command related output going to the console
230 when running with verbose and/or logging to the console.
231 </para>
232 </listitem>
233 </varlistentry>
234 <varlistentry>
235226 <term>-U <replaceable class="parameter">user</replaceable></term>
236227 <listitem>
237228 <para>

callweaver/trunk/corelib/callweaver.c (unified diff)

r5630r5631
170170 int option_nocolor = 0;
171171 int option_dumpcore = 0;
172172 int option_cache_record_files = 0;
173 int option_timestamp = 0;
174173 int option_overrideconfig = 0;
175174 int option_reconnect = 0;
176175 int option_transcode_slin = 1;
------
13041303 option_verbose = atoi(v->value);
13051304 /* whether or not to force timestamping. (-T at startup) */
13061305 } else if (!strcasecmp(v->name, "timestamp")) {
1307 option_timestamp = cw_true(v->value);
1306 cw_log(CW_LOG_WARNING, "timestamp in callweaver.conf is deprecated and should be removed\n");
13081307 /* whether or not to support #exec in config files */
13091308 } else if (!strcasecmp(v->name, "execincludes")) {
13101309 option_exec_includes = cw_true(v->value);
------
14571456 case 't':
14581457 option_cache_record_files++;
14591458 break;
1460 case 'T':
1461 option_timestamp++;
1462 break;
14631459 case 'x':
14641460 option_exec++;
14651461 option_nofork++;

callweaver/trunk/include/callweaver/options.h (unified diff)

r5590r5631
5151 extern CW_API_PUBLIC int fully_booted;
5252 extern CW_API_PUBLIC int option_exec_includes;
5353 extern CW_API_PUBLIC int option_cache_record_files;
54 extern CW_API_PUBLIC int option_timestamp;
5554 extern CW_API_PUBLIC int option_transcode_slin;
5655 extern CW_API_PUBLIC int option_maxcalls;
5756 extern CW_API_PUBLIC double option_maxload;