doh't use "def" for command definitions, it conflicts with Data.Default.def

This commit is contained in:
Joey Hess 2014-10-14 14:20:10 -04:00
parent db9121ecee
commit 59f88558d5
86 changed files with 267 additions and 267 deletions

View file

@ -18,8 +18,8 @@ import qualified Utility.Format
import Utility.DataUnits
import Types.Key
def :: [Command]
def = [mkCommand $ command "find" paramPaths seek SectionQuery "lists available files"]
cmd :: [Command]
cmd = [mkCommand $ command "find" paramPaths seek SectionQuery "lists available files"]
mkCommand :: Command -> Command
mkCommand = noCommit . noMessages . withOptions [formatOption, print0Option, jsonOption]