diff options
| author | hallgren <hallgren@chalmers.se> | 2015-08-10 16:30:17 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2015-08-10 16:30:17 +0000 |
| commit | 10e7bacbfd909dcee85e2df23ab5f0f98257c8e1 (patch) | |
| tree | f2a7c60e4b04291f7da08d207484409270bbf2fa /src/compiler/GF/Command/Help.hs | |
| parent | 8d6e61a8df4480385a1f2ef29a96f6a88af9e3ba (diff) | |
Factor out common code from GF.Command.Commands and GF.Command.Commands2
Created module GF.Command.CommonCommands with ~250 lines of code for commands
that do not depend on the type of PGF in the environemnt, either because they
don't use the PGF or because they are just documented here and implemented
elsewhere.
TODO: further refactoring so that documentation and implementation of
*all* commands can be kept together.
Diffstat (limited to 'src/compiler/GF/Command/Help.hs')
| -rw-r--r-- | src/compiler/GF/Command/Help.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/GF/Command/Help.hs b/src/compiler/GF/Command/Help.hs index a1a6c0aaf..a1a4716ee 100644 --- a/src/compiler/GF/Command/Help.hs +++ b/src/compiler/GF/Command/Help.hs @@ -59,8 +59,6 @@ compact [] = [] compact ([]:xs@([]:_)) = compact xs compact (x:xs) = x:compact xs -mkEx s = let (command,expl) = break (=="--") (words s) in (unwords command, unwords (drop 1 expl)) - helpCommand allCommands = ("h", emptyCommandInfo { longname = "help", |
