summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig
diff options
context:
space:
mode:
authorOliver Tappe2007-07-18 20:35:03 +0200
committerOliver Tappe2007-07-18 20:35:03 +0200
commit4c229f003631c46946cb721a9050c7b6e8a86da9 (patch)
tree75ed973639247fbe4bbf4b92ca7d1ebec4fb2087 /config-db/slxconfig
parent* updated perldoc to match current state (diff)
downloadcore-4c229f003631c46946cb721a9050c7b6e8a86da9.tar.gz
core-4c229f003631c46946cb721a9050c7b6e8a86da9.tar.xz
core-4c229f003631c46946cb721a9050c7b6e8a86da9.zip
* some cleanup - we now make use of here-docs where feasible
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1252 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/slxconfig')
-rwxr-xr-xconfig-db/slxconfig35
1 files changed, 19 insertions, 16 deletions
diff --git a/config-db/slxconfig b/config-db/slxconfig
index 5d586a41..50c8d8cd 100755
--- a/config-db/slxconfig
+++ b/config-db/slxconfig
@@ -36,6 +36,7 @@ use OpenSLX::Basics;
use OpenSLX::ConfigDB;
use OpenSLX::ConfigFolder;
use OpenSLX::DBSchema;
+use OpenSLX::Utils;
my (
$helpReq,
@@ -105,22 +106,24 @@ if ($action =~ m[^add-system$]i) {
} elsif ($action =~ m[^remove-system$]i) {
removeSystemFromConfigDB(@ARGV);
} else {
- print STDERR _tr("You need to specify exactly one of these actions:
- add-client
- add-system
- change-client
- change-system
- list-client
- list-export
- list-system
- list-vendoros
- remove-client
- remove-system
- search-client
- search-export
- search-system
- search-vendoros
-Try '%s --help' for more info.\n", $0);
+ vlog(0, _tr(unshiftHereDoc(<<' END-OF-HERE'), $0));
+ You need to specify exactly one of these actions:
+ add-client
+ add-system
+ change-client
+ change-system
+ list-client
+ list-export
+ list-system
+ list-vendoros
+ remove-client
+ remove-system
+ search-client
+ search-export
+ search-system
+ search-vendoros
+ Try '%s --help' for more info.
+ END-OF-HERE
}
$openslxDB->disconnect();