X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Fconsole;h=cb08e2f038778b60aec44ff14c24f44b3eb53ad9;hb=c10ad4bbce3fdf09e6e3150f5e36e10ebbb58f90;hp=ba287fd47091aad2e15d894f812bc51c9904241f;hpb=271e882944f9922eb936cb950cc2d63bb3ef4d39;p=kivitendo-erp.git diff --git a/scripts/console b/scripts/console index ba287fd47..cb08e2f03 100755 --- a/scripts/console +++ b/scripts/console @@ -117,9 +117,8 @@ sub lxinit { die "cannot find user $login" unless %::myconfig = $::auth->read_user(login => $login); - $::form->{login} = $login; # normaly implicit at login - die "cannot find locale for user $login" unless $::locale = Locale->new($::myconfig{countrycode}); + $::myconfig{login} = $login; # so SL::DB::Manager::Employee->current works in test database $::instance_conf->init; @@ -289,6 +288,12 @@ Print the manual page and exit. Log in as C. The default is to use the value from the configuration file and C if none is set there. +=item B<-c>, B<--client>=C + +Use the database for client C. C can be a client's +database ID or its name. The default is to use the value from the +configuration file. + =item B<-o>, B<--log-file>=C Use C as the log file. The default is to use the value from