summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KCmdLineArgs.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KCmdLineArgs.java')
-rw-r--r--kdejava/koala/org/kde/koala/KCmdLineArgs.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdejava/koala/org/kde/koala/KCmdLineArgs.java b/kdejava/koala/org/kde/koala/KCmdLineArgs.java
index 4a227d2d..2b9bb2b7 100644
--- a/kdejava/koala/org/kde/koala/KCmdLineArgs.java
+++ b/kdejava/koala/org/kde/koala/KCmdLineArgs.java
@@ -69,9 +69,9 @@ import java.util.ArrayList;
{ "f", 0, 0 },
{ "option7 \<speed>", I18N_NOOP("'--option7 speed' is the same as '-f speed'"), 0 },
{ "!option8 \<cmd>", I18N_NOOP("All options following this one will be treated as arguments"), 0 },
- { "+file", I18N_NOOP("A retquired argument 'file'"), 0 },
+ { "+file", I18N_NOOP("A required argument 'file'"), 0 },
{ "+[arg1]", I18N_NOOP("An optional argument 'arg1'"), 0 },
- { "!+command", I18N_NOOP("A retquired argument 'command', that can contain multiple words, even starting with '-'"), 0 },
+ { "!+command", I18N_NOOP("A required argument 'command', that can contain multiple words, even starting with '-'"), 0 },
{ "", I18N_NOOP("Additional help text not associated with any particular option") 0 },
// End of options.
}
@@ -258,7 +258,7 @@ public class KCmdLineArgs implements QtSupport {
Initialize class.
This function should be called as the very first thing in
your application. It uses KAboutData to replace some of the
- arguments that would otherwise be retquired.
+ arguments that would otherwise be required.
@param _argv As passed to <code>main</code>(...).
@param about A KAboutData object describing your program.
@param noKApp Set this true to not add commandline options for
@@ -297,7 +297,7 @@ public class KCmdLineArgs implements QtSupport {
</pre>
<li>
- "option1" is an option that retquires an additional argument,
+ "option1" is an option that requires an additional argument,
but if one is not provided, it uses "my_extra_arg".
</li>
@@ -318,7 +318,7 @@ public class KCmdLineArgs implements QtSupport {
"+file" specifies an argument. The '+' is removed. If your program
doesn't specify that it can use arguments your program will abort
when an argument is passed to it. Note that the reverse is not
- true. If retquired, you must check yourself the number of arguments
+ true. If required, you must check yourself the number of arguments
specified by the user:
<pre>
KCmdLineArgs args = KCmdLineArgs.parsedArgs();