Allow filter to be empty for aptly * search commands

Empty filter implies "select all packages".
This commit is contained in:
Andrey Smirnov
2017-02-10 23:07:06 +03:00
parent 4eef4f1803
commit 33d6cd8c0a
15 changed files with 248901 additions and 23 deletions
+3 -1
View File
@@ -8,11 +8,13 @@ import (
func makeCmdRepoSearch() *commander.Command {
cmd := &commander.Command{
Run: aptlySnapshotMirrorRepoSearch,
UsageLine: "search <name> <package-query>",
UsageLine: "search <name> [<package-query>]",
Short: "search repo for packages matching query",
Long: `
Command search displays list of packages in local repository that match package query
If query is not specified, all the packages are displayed.
Example:
$ aptly repo search my-software '$Architecture (i386), Name (% *-dev)'