diff options
Diffstat (limited to 'src/GF/Shell.hs')
| -rw-r--r-- | src/GF/Shell.hs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/GF/Shell.hs b/src/GF/Shell.hs index 4b9660ced..3dcec9fbd 100644 --- a/src/GF/Shell.hs +++ b/src/GF/Shell.hs @@ -231,8 +231,11 @@ execC co@(comm, opts0) sa@(sh@(st,(h,_,_,_)),a) = checkOptions st co >> case com CLinearize [] | oElem showMulti opts -> - changeArg (opTS2CommandArg (unlines. linearizeToAll - (allStateGrammars st)) . s2t) sa + + changeArg (opTS2CommandArg ( + unlines . + (\t -> [optLinearizeTreeVal opts gr t | gr <- allStateGrammars st])) . s2t) sa + | otherwise -> changeArg (opTS2CommandArg (optLinearizeTreeVal opts gro) . s2t) sa ---- CLinearize m -> changeArg (opTS2CommandArg (optLinearizeArgForm opts gro m)) sa |
