[Bps-public-commit] r10197 - in RT-Client-Console: trunk/bin

dams at bestpractical.com dams at bestpractical.com
Sun Dec 30 11:39:54 EST 2007


Author: dams
Date: Sun Dec 30 11:39:53 2007
New Revision: 10197

Modified:
   RT-Client-Console/   (props changed)
   RT-Client-Console/trunk/bin/rtconsole

Log:
 r37 at pundit:  dams | 2007-12-30 16:38:15 +0000
 removed the "queues" option


Modified: RT-Client-Console/trunk/bin/rtconsole
==============================================================================
--- RT-Client-Console/trunk/bin/rtconsole	(original)
+++ RT-Client-Console/trunk/bin/rtconsole	Sun Dec 30 11:39:53 2007
@@ -13,7 +13,6 @@
 		   'server=s',
 		   'user=s',
 		   'pass=s',
-		   'queues=s',
 		   'config-file=s',
 		   'generate-config',
 		   'help',
@@ -36,7 +35,6 @@
 
 my $config = {};
 exists $options{$_} and $config->{connection}{$_} = $options{$_} foreach (qw(server user pass));
-exists $options{$_} and $config->{server}{$_} = $options{$_} foreach (qw(queues));
 
 my $config_filename = $ENV{HOME} . '/.rtconsolerc';
 exists $options{'config-file'} && length $options{'config-file'} and $config_filename = $options{'config-file'};
@@ -78,9 +76,6 @@
 
 $curses_handler->erase();
 
-my $queues = $config->{server}{queues};
-my @queues = split(/\s+/, $queues);
-
 use RT::Client::Console;
 use Error qw(:try);
 
@@ -89,7 +84,6 @@
 							 rt_servername => $config->{connection}{server},
 							 rt_username => $config->{connection}{user},
 							 rt_password => $config->{connection}{pass},
-							 queue_ids => \@queues,
 							);
 	endwin;
 } otherwise {
@@ -134,11 +128,6 @@
 
 Specify the password to connect to the server
 
-=item  --queues='1 12 54 23 84'
-
-Specify the ids of the queues on the server. That's because for now we can't
-get the list of queues automatically.
-
 =item  --config-file filename
 
 Specify the config file to read. Default $HOME/.rtconsolerc
@@ -174,9 +163,6 @@
   user=dams
   pass=my_password
 
-  [server]
-  queues=1 2 42 12 3
-
 For now there is only one section cannled Connection. More will be added in
 the next versions of this software.
 



More information about the Bps-public-commit mailing list