summaryrefslogtreecommitdiff
path: root/Command/WebApp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/WebApp.hs')
-rw-r--r--Command/WebApp.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/WebApp.hs b/Command/WebApp.hs
index a05984c4e..e433e50c6 100644
--- a/Command/WebApp.hs
+++ b/Command/WebApp.hs
@@ -29,7 +29,6 @@ import qualified Git.Config
import qualified Git.CurrentRepo
import qualified Annex
import Config.Files
-import qualified Option
import Upgrade
import Annex.Version
@@ -45,7 +44,7 @@ def = [ withOptions [listenOption] $
command "webapp" paramNothing seek SectionCommon "launch webapp"]
listenOption :: Option
-listenOption = Option.field [] "listen" paramAddress
+listenOption = fieldOption [] "listen" paramAddress
"accept connections to this address"
seek :: CommandSeek