add FIELD?=GLOB to git-annex view usage
And also to vadd usage. Also added some other things to the usage that were omitted before to save space. Adding even FIELD?=GLOB made the git-annex --help list of commands grow too wide for an 80 column display. So, removed the description of parameters from that list of commands. Sponsored-By: Brock Spratlen on Patreon
This commit is contained in:
parent
aa0350ff49
commit
c209e0f643
4 changed files with 4 additions and 9 deletions
|
@ -10,14 +10,13 @@ module Command.VAdd where
|
|||
import Command
|
||||
import qualified Annex
|
||||
import Annex.View
|
||||
import Command.View (checkoutViewBranch)
|
||||
import Command.View (checkoutViewBranch, paramView)
|
||||
|
||||
cmd :: Command
|
||||
cmd = notBareRepo $
|
||||
command "vadd" SectionMetaData
|
||||
"add subdirs to current view"
|
||||
(paramRepeating "FIELD=GLOB")
|
||||
(withParams seek)
|
||||
paramView (withParams seek)
|
||||
|
||||
seek :: CmdParams -> CommandSeek
|
||||
seek = withWords (commandAction . start)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue