refactored and generalized pre-command sanity checking
This commit is contained in:
parent
66194684ac
commit
5b74b130a3
38 changed files with 73 additions and 67 deletions
|
@ -21,7 +21,7 @@ import Utility.FileMode
|
|||
import Config
|
||||
|
||||
command :: [Command]
|
||||
command = [repoCommand "fsck" paramPaths seek "check for problems"]
|
||||
command = [Command "fsck" paramPaths needsRepo seek "check for problems"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withNumCopies start]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue