From: Alexander Popov Date: Fri, 20 Jul 2018 17:53:52 +0000 (+0300) Subject: Update usage in README.md X-Git-Tag: v0.5.2~86 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f662d0ed1d75e698c4944d93b3f8226c545e5960;p=kconfig-hardened-check.git Update usage in README.md --- 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