]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journalctl: update help to say "priority range" (#32323)
authorWinterhuman <86165318+Winterhuman@users.noreply.github.com>
Thu, 18 Apr 2024 00:43:28 +0000 (00:43 +0000)
committerGitHub <noreply@github.com>
Thu, 18 Apr 2024 00:43:28 +0000 (09:43 +0900)
Clarify that `-p, --priority=` always treats its option as a priority range, even when given
a single log level per the full man page description.

Co-authored-by: Mike Yuan <me@yhndnzj.com>
src/journal/journalctl.c

index cc598697905010df1018a27f91906bc781a14d23..8b60e890ee04eb7f3f78a26ed402a94dfbe8d109 100644 (file)
@@ -228,7 +228,7 @@ static int help(void) {
                "  -t --identifier=STRING     Show entries with the specified syslog identifier\n"
                "  -T --exclude-identifier=STRING\n"
                "                             Hide entries with the specified syslog identifier\n"
-               "  -p --priority=RANGE        Show entries with the specified priority\n"
+               "  -p --priority=RANGE        Show entries within the specified priority range\n"
                "     --facility=FACILITY...  Show entries with the specified facilities\n"
                "  -g --grep=PATTERN          Show entries with MESSAGE matching PATTERN\n"
                "     --case-sensitive[=BOOL] Force case sensitive or insensitive matching\n"