summaryrefslogtreecommitdiff
path: root/cli/source/core/scala/org/hashtree/stringmetric/cli/phonetic/soundexAlgorithm.scala
diff options
context:
space:
mode:
Diffstat (limited to 'cli/source/core/scala/org/hashtree/stringmetric/cli/phonetic/soundexAlgorithm.scala')
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/phonetic/soundexAlgorithm.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/phonetic/soundexAlgorithm.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/phonetic/soundexAlgorithm.scala
index 02ef536..99fdd49 100755
--- a/cli/source/core/scala/org/hashtree/stringmetric/cli/phonetic/soundexAlgorithm.scala
+++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/phonetic/soundexAlgorithm.scala
@@ -17,7 +17,7 @@ object soundexAlgorithm extends Command {
help()
exit(options)
// Execute.
- } else if (options.contains('dashless) && (OptionMapArray(options('dashless)): Array[String]).length == 1) {
+ } else if (options.contains('dashless) && (options('dashless): OptionMapArray).length == 1) {
execute(options)
exit(options)
// Invalid syntax.