From ad938537ef4c8e8a77704557f2cb23e35f894b5d Mon Sep 17 00:00:00 2001 From: Winterhuman <86165318+Winterhuman@users.noreply.github.com> Date: Thu, 18 Apr 2024 00:43:28 +0000 Subject: [PATCH] journalctl: update help to say "priority range" (#32323) 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 --- src/journal/journalctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index cc598697905..8b60e890ee0 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -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" -- 2.47.3