netlabel_tools/0007-Improve-help-usage-message.patch
Vit Mojzis 295af65518 netlabel_tools-0.30.0-21
- Improve "help/usage" message
- libnetlabel: fix a header file guard typo
- netlabel-config: Fix IPv4/IPv6 addresses parsing in nlbl_reset_unlbl()
- netlabel: Update man page to clarify SELinux labeling
- tests: add a basic CALIPSO pass through test
- doc: fix a typo in the netlabel-config man page

Resolves: RHEL-38477
2025-08-04 12:38:57 +02:00

32 lines
940 B
Diff

From 944411478ab51d5d8ac7f4e52658ade4eb6a3aa1 Mon Sep 17 00:00:00 2001
From: Vit Mojzis <vmojzis@redhat.com>
Date: Fri, 1 Aug 2025 12:50:24 +0200
Subject: [PATCH] Improve "help/usage" message
- Document the -V option
- Add more info to the -t option
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
---
netlabelctl/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/netlabelctl/main.c b/netlabelctl/main.c
index 0aa1d56..fa4a983 100644
--- a/netlabelctl/main.c
+++ b/netlabelctl/main.c
@@ -89,8 +89,9 @@ static void nlctl_help_print(FILE *fp)
" Flags:\n"
" -h : help/usage message\n"
" -p : make the output pretty\n"
- " -t <secs> : timeout\n"
+ " -t <secs> : set a timeout for NetLabel subsystem response\n"
" -v : verbose mode\n"
+ " -V : display version information\n"
"\n"
" Modules and Commands:\n"
" mgmt : NetLabel management\n"
--
2.49.0