summaryrefslogtreecommitdiff
path: root/noncore/tools/opie-sh/opie-sh.cpp
Unidiff
Diffstat (limited to 'noncore/tools/opie-sh/opie-sh.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/opie-sh/opie-sh.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/tools/opie-sh/opie-sh.cpp b/noncore/tools/opie-sh/opie-sh.cpp
index 96b4b93..a353d3f 100644
--- a/noncore/tools/opie-sh/opie-sh.cpp
+++ b/noncore/tools/opie-sh/opie-sh.cpp
@@ -123,12 +123,13 @@ void printusage()
123 printf(" -2 [text] Third button text\n"); 123 printf(" -2 [text] Third button text\n");
124 printf(" -g Disable fullscreen\n"); 124 printf(" -g Disable fullscreen\n");
125 printf("Input Dialog options:\n"); 125 printf("Input Dialog options:\n");
126 printf(" -s A single line of input (output to console)\n"); 126 printf(" -s A single line of input (output to console)\n");
127 printf(" -l List input (newline separated list read in from file)\n"); 127 printf(" -l List input (newline separated list read in from file)\n");
128 printf(" -b A list box, enabling multiple selections (input same as -l)\n"); 128 printf(" -b A list box, enabling multiple selections (input same as -l)\n");
129 printf(" -p Password input (display '*'s)\n");
129 printf(" -L [label] The label for the input field\n"); 130 printf(" -L [label] The label for the input field\n");
130 printf(" -F [filename] An input file (for when it makes sense) [Default = stdin]\n"); 131 printf(" -F [filename] An input file (for when it makes sense) [Default = stdin]\n");
131 printf(" -E Makes list input editable\n"); 132 printf(" -E Makes list input editable\n");
132 printf(" -g Disable fullscreen\n"); 133 printf(" -g Disable fullscreen\n");
133} 134}
134 135
@@ -184,12 +185,17 @@ int input(int wi, int h, QWidget *w, int argc, QStringList args)
184 185
185 if(args[i] == "-b") 186 if(args[i] == "-b")
186 { 187 {
187 type = 2; 188 type = 2;
188 } 189 }
189 190
191 if(args[i] == "-p")
192 {
193 type = 3;
194 }
195
190 if(args[i] == "-t") 196 if(args[i] == "-t")
191 { 197 {
192 title = args[i+1]; 198 title = args[i+1];
193 } 199 }
194 200
195 if(args[i] == "-L") 201 if(args[i] == "-L")