forgot to add these
This commit is contained in:
parent
22c445f3eb
commit
978906c616
2 changed files with 46 additions and 0 deletions
17
Command/Required.hs
Normal file
17
Command/Required.hs
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{- git-annex command
|
||||||
|
-
|
||||||
|
- Copyright 2015 Joey Hess <id@joeyh.name>
|
||||||
|
-
|
||||||
|
- Licensed under the GNU GPL version 3 or higher.
|
||||||
|
-}
|
||||||
|
|
||||||
|
module Command.Required where
|
||||||
|
|
||||||
|
import Command
|
||||||
|
import Logs.PreferredContent
|
||||||
|
import qualified Command.Wanted
|
||||||
|
|
||||||
|
cmd :: [Command]
|
||||||
|
cmd = Command.Wanted.cmd' "required" "get or set required content expression"
|
||||||
|
requiredContentMapRaw
|
||||||
|
requiredContentSet
|
29
doc/git-annex-required.mdwn
Normal file
29
doc/git-annex-required.mdwn
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# NAME
|
||||||
|
|
||||||
|
git-annex required - get or set required content expression
|
||||||
|
|
||||||
|
# SYNOPSIS
|
||||||
|
|
||||||
|
git annex required `repository [expression]`
|
||||||
|
|
||||||
|
# DESCRIPTION
|
||||||
|
|
||||||
|
When run with an expression, configures the content that is required
|
||||||
|
to be held in the archive. See [[git-annex-preferred-content]](1)
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
git annex required . "include=*.mp3 or include=*.ogg"
|
||||||
|
|
||||||
|
Without an expression, displays the current required content setting
|
||||||
|
of the repository.
|
||||||
|
|
||||||
|
# SEE ALSO
|
||||||
|
|
||||||
|
[[git-annex]](1)
|
||||||
|
|
||||||
|
# AUTHOR
|
||||||
|
|
||||||
|
Joey Hess <id@joeyh.name>
|
||||||
|
|
||||||
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|
Loading…
Add table
Add a link
Reference in a new issue