mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Added statistics to new interface. Removed old.
This commit is contained in:
parent
8fd8cd65fa
commit
9d55882ce2
1 changed files with 2 additions and 3 deletions
5
cmd.go
5
cmd.go
|
@ -369,7 +369,8 @@ func handlePrint() (err error) {
|
|||
default:
|
||||
complete("sh")
|
||||
}
|
||||
case cmdArgs.existsArg("d", "defaultconfig"):
|
||||
case cmdArgs.existsArg("s", "stats"):
|
||||
err = localStatistics()
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
|
@ -390,8 +391,6 @@ func handleYay() (err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
} else if cmdArgs.existsArg("stats") {
|
||||
err = localStatistics()
|
||||
} else if cmdArgs.existsArg("cleandeps") {
|
||||
err = cleanDependencies()
|
||||
} else if len(cmdArgs.targets) > 0 {
|
||||
|
|
Loading…
Reference in a new issue