projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WebshopApi: Fehlerhaftes Updatescript berichtigt
[kivitendo-erp.git]
/
scripts
/
console
diff --git
a/scripts/console
b/scripts/console
index
1d97581
..
cb08e2f
100755
(executable)
--- a/
scripts/console
+++ b/
scripts/console
@@
-118,6
+118,7
@@
sub lxinit {
die "cannot find user $login" unless %::myconfig = $::auth->read_user(login => $login);
die "cannot find locale for user $login" unless $::locale = Locale->new($::myconfig{countrycode});
die "cannot find user $login" unless %::myconfig = $::auth->read_user(login => $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;
$::instance_conf->init;
@@
-287,6
+288,12
@@
Print the manual page and exit.
Log in as C<username>. The default is to use the value from the
configuration file and C<demo> if none is set there.
Log in as C<username>. The default is to use the value from the
configuration file and C<demo> if none is set there.
+=item B<-c>, B<--client>=C<client>
+
+Use the database for client C<client>. C<client> 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<filename>
Use C<filename> as the log file. The default is to use the value from
=item B<-o>, B<--log-file>=C<filename>
Use C<filename> as the log file. The default is to use the value from