avoid version check before running version and upgrade commands
There are two types of commands; those that access the repository and those that don't. Sorted.
This commit is contained in:
parent
54c39d09ba
commit
140a351fc5
33 changed files with 46 additions and 37 deletions
|
@ -15,7 +15,7 @@ import qualified SysConfig
|
|||
import Version
|
||||
|
||||
command :: [Command]
|
||||
command = [Command "version" paramNothing seek "show versions"]
|
||||
command = [standaloneCommand "version" paramNothing seek "show version info"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withNothing start]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue