fortify: clean up ps formatting code
All checks were successful
Tests / Go tests (push) Successful in 38s
Nix / NixOS tests (push) Successful in 3m1s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2024-12-21 20:34:40 +09:00
parent 4f4c690d38
commit cb98baa19d
4 changed files with 85 additions and 127 deletions

View File

@@ -21,6 +21,11 @@ _fortify_run() {
'--dbus-log[Force logging in the D-Bus proxy]'
}
_fortify_ps() {
_arguments \
'--short[Print instance id]'
}
(( $+functions[_fortify_commands] )) || _fortify_commands()
{
local -a _fortify_cmds