pkcheck: fix a difference between the manual page and the `--help|-h` output
Summary
Resolves: #157 (closed)
Detailed description and reproducer
In vmihalko/polkit@8798eabb, I propose the following change:
After running polkit -a
(or some other short option taking an argument e.g., -{d,p,s}
}), the output is changed subsequently:
-pkcheck: Argument expected after `--action-id'
+pkcheck: Argument expected after `--action-id/-a'
In vmihalko/polkit@ba2af82c, I propose the following change (add information about short arg options to the pkcheck
manual page):
SYNOPSIS
- pkcheck [--version] [--help]
+ pkcheck [--version] [--help|-h]
pkcheck [--list-temp]
pkcheck [--revoke-temp]
- pkcheck --action-id action {--process { pid | pid,pid-start-time | pid,pid-start-time,uid } | --system-bus-name busname} [--allow-user-interaction]
- [--enable-internal-agent] [--detail key value...]
+ pkcheck --action-id|-a action {--process|-p { pid | pid,pid-start-time | pid,pid-start-time,uid } | --system-bus-name|-s busname} [--allow-user-interaction|-u]
+ [--enable-internal-agent] [--detail|-d key value...]