From f0adfb2b4c364810c91b8c87799adfe7ba224d83 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 11 Feb 2008 23:52:21 +0000
Subject: [PATCH] Fix for issue 2130 (i18n CLI usage placeholders)
---
opendj-sdk/opends/src/server/org/opends/server/tools/WaitForFileDelete.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/WaitForFileDelete.java b/opendj-sdk/opends/src/server/org/opends/server/tools/WaitForFileDelete.java
index ed59937..41d0f8f 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/WaitForFileDelete.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/WaitForFileDelete.java
@@ -134,14 +134,14 @@
{
targetFilePath =
new StringArgument("targetfile", 'f', "targetFile", true, false,
- true, "{path}", null, null,
+ true, INFO_PATH_PLACEHOLDER.get(), null, null,
INFO_WAIT4DEL_DESCRIPTION_TARGET_FILE.get());
argParser.addArgument(targetFilePath);
logFilePath = new StringArgument(
"logfile", 'l', "logFile", false, false,
- true, "{path}", null, null,
+ true, INFO_PATH_PLACEHOLDER.get(), null, null,
INFO_WAIT4DEL_DESCRIPTION_LOG_FILE.get());
argParser.addArgument(logFilePath);
@@ -149,13 +149,14 @@
outputFilePath = new StringArgument(
"outputfile", 'o', "outputFile",
false, false,
- true, "{path}", null, null,
+ true, INFO_PATH_PLACEHOLDER.get(), null, null,
INFO_WAIT4DEL_DESCRIPTION_OUTPUT_FILE.get());
argParser.addArgument(outputFilePath);
timeout = new IntegerArgument("timeout", 't', "timeout", true, false,
- true, "{seconds}", 60, null, true, 0, false,
+ true, INFO_SECONDS_PLACEHOLDER.get(), 60,
+ null, true, 0, false,
0, INFO_WAIT4DEL_DESCRIPTION_TIMEOUT.get());
argParser.addArgument(timeout);
--
Gitblit v1.10.0