doc: update aa-log usage.
Some checks are pending
Ubuntu / check (push) Waiting to run
Ubuntu / build (default, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (default, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / tests (push) Blocked by required conditions

This commit is contained in:
Alexandre Pujol 2025-03-02 14:03:38 +01:00
parent 6c284435ae
commit 3f9fe25fd4
Failed to generate hash of commit
2 changed files with 8 additions and 7 deletions

View file

@ -15,7 +15,7 @@ import (
"github.com/roddhjav/apparmor.d/pkg/logs"
)
const usage = `aa-log [-h] [--systemd] [--file file] [--rules | --raw] [profile]
const usage = `aa-log [-h] [--systemd] [--file file] [--rules | --raw] [--since] [profile]
Review AppArmor generated messages in a colorful way. It supports logs from
auditd, systemd, syslog as well as dbus session events.

View file

@ -116,9 +116,9 @@ profile dnsmasq {
### Help
```
aa-log [-h] [--systemd] [--file file] [--rules | --raw] [profile]
aa-log [-h] [--systemd] [--file file] [--rules | --raw] [--since] [profile]
Review AppArmor generated messages in a colorful way. Supports logs from
Review AppArmor generated messages in a colorful way. It supports logs from
auditd, systemd, syslog as well as dbus session events.
It can be given an optional profile name to filter the output with.
@ -132,4 +132,5 @@ Options:
-s, --systemd Parse systemd logs from journalctl.
-r, --rules Convert the log into AppArmor rules.
-R, --raw Print the raw log without any formatting.
-S, --since DATE Show entries not older than the specified date.
```