reorganize some files and imports
This commit is contained in:
parent
3149a62a35
commit
86ffeb73d1
34 changed files with 92 additions and 120 deletions
|
@ -21,7 +21,6 @@ import qualified Annex.Url as Url
|
|||
import qualified Backend.URL
|
||||
import Annex.Content
|
||||
import Logs.Web
|
||||
import qualified Option
|
||||
import Types.Key
|
||||
import Types.KeySource
|
||||
import Config
|
||||
|
@ -39,13 +38,13 @@ def = [notBareRepo $ withOptions [fileOption, pathdepthOption, relaxedOption] $
|
|||
SectionCommon "add urls to annex"]
|
||||
|
||||
fileOption :: Option
|
||||
fileOption = Option.field [] "file" paramFile "specify what file the url is added to"
|
||||
fileOption = fieldOption [] "file" paramFile "specify what file the url is added to"
|
||||
|
||||
pathdepthOption :: Option
|
||||
pathdepthOption = Option.field [] "pathdepth" paramNumber "path components to use in filename"
|
||||
pathdepthOption = fieldOption [] "pathdepth" paramNumber "path components to use in filename"
|
||||
|
||||
relaxedOption :: Option
|
||||
relaxedOption = Option.flag [] "relaxed" "skip size check"
|
||||
relaxedOption = flagOption [] "relaxed" "skip size check"
|
||||
|
||||
seek :: CommandSeek
|
||||
seek ps = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue