diff options
| author | krasimir <krasimir@chalmers.se> | 2009-11-26 14:43:31 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2009-11-26 14:43:31 +0000 |
| commit | ba1b602053300d982e973f446e44bd7a436c157d (patch) | |
| tree | 558a2dcfd55ea676eaa2aa8cfe6b5286c3239089 /src/GF | |
| parent | 6b0a662c35856beb306f0c873869e4a0e02165ef (diff) | |
change PGF.categories to return list of identifiers instead of types
Diffstat (limited to 'src/GF')
| -rw-r--r-- | src/GF/Command/Commands.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Command/Commands.hs b/src/GF/Command/Commands.hs index 228b40c37..73730b050 100644 --- a/src/GF/Command/Commands.hs +++ b/src/GF/Command/Commands.hs @@ -835,7 +835,7 @@ allCommands cod env@(pgf, mos) = Map.fromList [ _ -> fromExprs es prGrammar opts - | isOpt "cats" opts = return $ fromString $ unwords $ map (showType []) $ categories pgf + | isOpt "cats" opts = return $ fromString $ unwords $ map showCId $ categories pgf | isOpt "fullform" opts = return $ fromString $ concatMap (morpho "" prFullFormLexicon) $ optLangs opts | isOpt "missing" opts = return $ fromString $ unlines $ [unwords (showCId la:":": map showCId cs) | la <- optLangs opts, let cs = missingLins pgf la] |
