From f662d0ed1d75e698c4944d93b3f8226c545e5960 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Fri, 20 Jul 2018 20:53:52 +0300 Subject: [PATCH] Update usage in README.md --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8f2271c..0698fea 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,16 @@ Please don't cry if my Python code looks like C. I'm just a kernel developer. ### Usage ``` #./kconfig-hardened-check.py -Usage: ./kconfig-hardened-check.py [-p | -c ] - -p, --print - print hardening preferences - -c , --config= - check the config_file against these preferences +usage: kconfig-hardened-check.py [-h] [-p] [-c CONFIG] [--debug] + +Checks the hardening options in the Linux kernel config + +optional arguments: + -h, --help show this help message and exit + -p, --print print hardening preferences + -c CONFIG, --config CONFIG + check the config_file against these preferences + --debug enable internal debug mode ``` ### Script output for `Ubuntu 18.04 (Bionic Beaver)` kernel config -- 2.31.1