[PATCH 60/96] policycoreutils: semanage: fix usage header around

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


This patch looks good to me. acked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5D7hwACgkQrlYvE4MpobN1CQCg3k7qIxGyRY4qID4Kc8kb21Lf
XZQAoOL26bHcgK0kyLWIa/28D2FKWhhY
=F8wI
-----END PGP SIGNATURE-----
>From c31b4f262424d3836432aa018f9225c9d1a46a28 Mon Sep 17 00:00:00 2001
From: Dan Walsh <dwalsh@xxxxxxxxxx>
Date: Thu, 4 Aug 2011 09:51:52 -0400
Subject: [PATCH 60/96] policycoreutils: semanage: fix usage header around
 booleans

Fix header to not display all of the options and fix Booleans to only list
supported options

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 policycoreutils/semanage/semanage |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/policycoreutils/semanage/semanage b/policycoreutils/semanage/semanage
index 20fedc1..656a028 100644
--- a/policycoreutils/semanage/semanage
+++ b/policycoreutils/semanage/semanage
@@ -53,7 +53,6 @@ if __name__ == '__main__':
 semanage [ -S store ] -i [ input_file | - ]
 semanage [ -S store ] -o [ output_file | - ]
 
-semanage {boolean|login|user|port|interface|node|fcontext} -{l|D} [-n]
 semanage login -{a|d|m|l|D|E} [-nsr] login_name | %groupname
 semanage user -{a|d|m|l|D|E} [-LnrRP] selinux_name
 semanage port -{a|d|m|l|D|E} [-ntr] [ -p proto ] port | port_range
@@ -61,7 +60,7 @@ semanage interface -{a|d|m|l|D|E} [-ntr] interface_spec
 semanage module -{a|d|m} [--enable|--disable] module
 semanage node -{a|d|m|l|D|E} [-ntr] [ -p protocol ] [-M netmask] addr
 semanage fcontext -{a|d|m|l|D|E} [-efnrst] file_spec
-semanage boolean -{d|m|l|D} [--on|--off|-1|-0] -F boolean | boolean_file
+semanage boolean -{d|m} [--on|--off|-1|-0] -F boolean | boolean_file
 semanage permissive -{d|a|l} [-n] type
 semanage dontaudit [ on | off ]
 
-- 
1.7.6

Attachment: 0060-policycoreutils-semanage-fix-usage-header-around-boo.patch.sig
Description: PGP signature


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux