summaryrefslogtreecommitdiff
path: root/Command/View.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-10-21 13:00:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-10-21 13:00:05 -0400
commit477f350c878a4288bba3485b59b675a80386eda6 (patch)
tree5426e8230886fe28954aefa68daaab00e6e48fa0 /Command/View.hs
parenta65a4eb8026f10c0f40e509f1bac4971b9949c2c (diff)
simplify usage display
This avoids making the parameters column quite wide, which caused descriptions of other commands to not fit in 80 cols in the usage display. FIELD=VALUE is a simplification, but so was the old display. The man page gives more detail.
Diffstat (limited to 'Command/View.hs')
-rw-r--r--Command/View.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/View.hs b/Command/View.hs
index e8d360946..bfe030e23 100644
--- a/Command/View.hs
+++ b/Command/View.hs
@@ -42,7 +42,7 @@ perform view = do
next $ checkoutViewBranch view applyView
paramView :: String
-paramView = paramPair (paramRepeating "TAG") (paramRepeating "FIELD=VALUE")
+paramView = paramRepeating "FIELD=VALUE"
mkView :: [String] -> Annex View
mkView params = go =<< inRepo Git.Branch.current