reinit: Support --json and --json-error-messages
Basically same concerns as init.. Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
parent
f09a248fe2
commit
91b9915b09
4 changed files with 15 additions and 5 deletions
|
@ -14,7 +14,7 @@ import qualified Remote
|
|||
import qualified Annex.SpecialRemote
|
||||
|
||||
cmd :: Command
|
||||
cmd = dontCheck repoExists $
|
||||
cmd = dontCheck repoExists $ withAnnexOptions [jsonOptions] $
|
||||
command "reinit" SectionUtility
|
||||
"initialize repository, reusing old UUID"
|
||||
(paramUUID ++ "|" ++ paramDesc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue