summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Command')
-rw-r--r--src/compiler/GF/Command/Commands.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs
index 2de7fb9cf..2ea3e169c 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -1004,9 +1004,7 @@ allCommands env@(pgf, mos) = Map.fromList [
toString = unwords . toStrings
fromParse opts ts parses
- | isOpt "bracket" opts = case catMaybes bss of
- [] -> ([], "no brackets found")
- bss -> ([], unlines $ map showBracketedString bss)
+ | isOpt "bracket" opts = ([], unlines $ map showBracketedString bss)
| otherwise = case ts of
[] -> ([], "no trees found" ++
missingWordMsg (optMorpho opts) (concatMap words (toStrings ts))