mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-23 11:18:28 +00:00
Update integrated help.
This commit is contained in:
1 parent
c28a641293
commit
4c81f0f52a
29 files changed
+166
-109
No files matched your search
@@ -5,24 +5,6 @@ import (
|
||||
"github.com/gonuts/flag"
|
||||
)
|
||||
|
||||
func makeCmdDbCleanup() *commander.Command {
|
||||
cmd := &commander.Command{
|
||||
Run: aptlyDbCleanup,
|
||||
UsageLine: "cleanup",
|
||||
Short: "remove unused entries in DB and unreferenced files in the pool",
|
||||
Long: `
|
||||
Database cleanup removes information about unreferenced packages and removes
|
||||
files in the package pool that aren't used by packages anymore
|
||||
|
||||
ex:
|
||||
$ aptly db cleanup
|
||||
`,
|
||||
Flag: *flag.NewFlagSet("aptly-db-cleanup", flag.ExitOnError),
|
||||
}
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
func makeCmdDb() *commander.Command {
|
||||
return &commander.Command{
|
||||
UsageLine: "db",
|
||||
|
||||
Reference in new issue
Block a user