summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-16 12:37:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-16 12:37:30 -0400
commitc2245260b1e6e3bd9a8827449fea2c0eafe7e0f2 (patch)
tree2f4720b8a9860578d361b81106335b1c446afc4f /Command
parent39c3f56b339fcaad3f91530f1f2dce0a0783d782 (diff)
improve usage
Diffstat (limited to 'Command')
-rw-r--r--Command/AddUrl.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index a6c89542e..986736943 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -29,7 +29,7 @@ fileOption :: Option
fileOption = Option.field [] "file" paramFile "specify what file the url is added to"
pathdepthOption :: Option
-pathdepthOption = Option.field [] "pathdepth" paramFile "number of path components to use in filename"
+pathdepthOption = Option.field [] "pathdepth" paramNumber "path components to use in filename"
seek :: [CommandSeek]
seek = [withField fileOption return $ \f ->