summaryrefslogtreecommitdiff
path: root/git-annex-shell.hs
diff options
context:
space:
mode:
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 ++