summaryrefslogtreecommitdiff
path: root/git-annex-shell.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-05 20:40:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-05 23:11:06 -0400
commit47be4383b714320c9e3f49cc23315101fad5735b (patch)
tree3a43aa41c43693ab9b66cc1b53a0d6dc0e1fb49e /git-annex-shell.hs
parentcdcf0aac71bf6135d45b7f5d13342ed3d040596a (diff)
Command data structure tweaking
Diffstat (limited to 'git-annex-shell.hs')
-rw-r--r--git-annex-shell.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/git-annex-shell.hs b/git-annex-shell.hs
index 872dabc58..1ff0bba44 100644
--- a/git-annex-shell.hs
+++ b/git-annex-shell.hs
@@ -36,7 +36,9 @@ cmds_notreadonly = concat
cmds :: [Command]
cmds = map adddirparam $ cmds_readonly ++ cmds_notreadonly
where
- adddirparam c = c { cmdparams = "DIRECTORY " ++ cmdparams c }
+ adddirparam c = c
+ { cmdparamdesc = "DIRECTORY " ++ cmdparamdesc c
+ }
options :: [OptDescr (Annex ())]
options = commonOptions ++