Diffstat (limited to 'noncore/tools/opie-sh/opie-sh.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/opie-sh/opie-sh.cpp | 6 |
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 | |||
@@ -126,6 +126,7 @@ void printusage() | |||
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"); |
@@ -187,6 +188,11 @@ int input(int wi, int h, QWidget *w, int argc, QStringList args) | |||
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]; |