support --backend again in addurl and importfeed
Missed these two when converting from a global option. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
d01530ac21
commit
149d12f188
5 changed files with 17 additions and 2 deletions
|
@ -37,7 +37,12 @@ import Network.URI
|
|||
import qualified System.FilePath.ByteString as P
|
||||
|
||||
cmd :: Command
|
||||
cmd = notBareRepo $ withAnnexOptions [jobsOption, jsonOptions, jsonProgressOption] $
|
||||
cmd = notBareRepo $ withAnnexOptions
|
||||
[ jobsOption
|
||||
, jsonOptions
|
||||
, jsonProgressOption
|
||||
, backendOption
|
||||
] $
|
||||
command "addurl" SectionCommon "add urls to annex"
|
||||
(paramRepeating paramUrl) (seek <$$> optParser)
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ import qualified Annex.Branch
|
|||
import Logs
|
||||
|
||||
cmd :: Command
|
||||
cmd = notBareRepo $
|
||||
cmd = notBareRepo $ withAnnexOptions [backendOption] $
|
||||
command "importfeed" SectionCommon "import files from podcast feeds"
|
||||
(paramRepeating paramUrl) (seek <$$> optParser)
|
||||
|
||||
|
|
|
@ -25,3 +25,5 @@ Sample logs could be found at https://github.com/datalad/git-annex/runs/71238681
|
|||
|
||||
[[!meta author=yoh]]
|
||||
[[!tag projects/datalad]]
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -136,6 +136,10 @@ be used to get better filenames.
|
|||
Messages that would normally be output to standard error are included in
|
||||
the json instead.
|
||||
|
||||
* `--backend`
|
||||
|
||||
Specifies which key-value backend to use.
|
||||
|
||||
* Also the [[git-annex-common-options]](1) can be used.
|
||||
|
||||
# CAVEATS
|
||||
|
|
|
@ -102,6 +102,10 @@ resulting in the new url being downloaded to such a filename.
|
|||
url to a file that would be ignored. This makes such files be added
|
||||
despite any ignores.
|
||||
|
||||
* `--backend`
|
||||
|
||||
Specifies which key-value backend to use.
|
||||
|
||||
* Also the [[git-annex-common-options]](1) can be used.
|
||||
|
||||
# SEE ALSO
|
||||
|
|
Loading…
Add table
Reference in a new issue