build: cleanup base build interface.
This commit is contained in:
parent
c6c4920598
commit
6f5604d59d
6 changed files with 21 additions and 16 deletions
|
|
@ -35,10 +35,12 @@ func init() {
|
|||
Base: cfg.Base{
|
||||
Keyword: "dbus",
|
||||
Msg: "Dbus directive applied",
|
||||
Help: `#aa:dbus own bus=<bus> name=<name> [interface=AARE] [path=AARE]
|
||||
#aa:dbus talk bus=<bus> name=<name> label=<profile> [interface=AARE] [path=AARE]`,
|
||||
},
|
||||
})
|
||||
Help: []string{
|
||||
"own bus=<bus> name=<name> [interface=AARE] [path=AARE]",
|
||||
"talk bus=<bus> name=<name> label=<profile> [interface=AARE] [path=AARE]",
|
||||
},
|
||||
}},
|
||||
)
|
||||
}
|
||||
|
||||
func setInterfaces(rules map[string]string) []string {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ func init() {
|
|||
Base: cfg.Base{
|
||||
Keyword: "exec",
|
||||
Msg: "Exec directive applied",
|
||||
Help: Keyword + `exec [P|U|p|u|PU|pu|] profiles...`,
|
||||
Help: []string{"[P|U|p|u|PU|pu|] profiles..."},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,14 +25,14 @@ func init() {
|
|||
Base: cfg.Base{
|
||||
Keyword: "only",
|
||||
Msg: "Only directive applied",
|
||||
Help: Keyword + `only filters...`,
|
||||
Help: []string{"filters..."},
|
||||
},
|
||||
})
|
||||
RegisterDirective(&FilterExclude{
|
||||
Base: cfg.Base{
|
||||
Keyword: "exclude",
|
||||
Msg: "Exclude directive applied",
|
||||
Help: Keyword + `exclude filters...`,
|
||||
Help: []string{"filters..."},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ func init() {
|
|||
Base: cfg.Base{
|
||||
Keyword: "stack",
|
||||
Msg: "Stack directive applied",
|
||||
Help: Keyword + `stack [X] profiles...`,
|
||||
Help: []string{"[X] profiles..."},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue