Skip to content

Commit

Permalink
external: no argument(s)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon de Vlieger <[email protected]>
  • Loading branch information
supakeen committed Jun 3, 2024
1 parent bded701 commit 475bd6f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions doc/03-omnifest/02-external.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,14 @@ it finds the first match:
- `/usr/lib/otk`

The filename for an external executable is based on the external name. When the
following directive is encountered: `otk.external.<name>.<argument>` then
following directive is encountered: `otk.external.<name>` then
`otk` will try to find an executable called `otk_external_<name>` in the previously
mentioned search paths.

It will call this executable with `<argument>` as its first argument. Here are
some examples:
Examples:

- `otk.external.foo` -> `otk_external_foo`
- `otk.external.foo.bar_baz` -> `otk_external_foo bar_baz`
- `otk.external.foo.bar.baz` -> `otk_external_foo bar baz`
- `otk.external.osbuild_bar` -> `otk_external_osbuild_bar`

## Implementations

Expand Down

0 comments on commit 475bd6f

Please sign in to comment.