From 5a3f41a50d1fd94a18fcced49722f3087e36aec6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 14 Oct 2014 14:20:10 -0400 Subject: doh't use "def" for command definitions, it conflicts with Data.Default.def --- Command/Watch.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Command/Watch.hs') diff --git a/Command/Watch.hs b/Command/Watch.hs index 79079337c..2d25b54c3 100644 --- a/Command/Watch.hs +++ b/Command/Watch.hs @@ -12,8 +12,8 @@ import Assistant import Command import Utility.HumanTime -def :: [Command] -def = [notBareRepo $ withOptions [foregroundOption, stopOption] $ +cmd :: [Command] +cmd = [notBareRepo $ withOptions [foregroundOption, stopOption] $ command "watch" paramNothing seek SectionCommon "watch for changes"] seek :: CommandSeek -- cgit v1.2.3