aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-06-16 14:10:51 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-06-16 14:10:51 +0900
commit41670e9417d8db07d316b836bdf95a1dc52c8172 (patch)
treed445603ae38ee6e7bed82f0cfb70bd2de66a8648 /elivepatch_client
parentfixed configparser for python3 (diff)
downloadelivepatch-41670e9417d8db07d316b836bdf95a1dc52c8172.tar.gz
elivepatch-41670e9417d8db07d316b836bdf95a1dc52c8172.tar.bz2
elivepatch-41670e9417d8db07d316b836bdf95a1dc52c8172.zip
cve as bool
Diffstat (limited to 'elivepatch_client')
-rw-r--r--elivepatch_client/client/argsparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/elivepatch_client/client/argsparser.py b/elivepatch_client/client/argsparser.py
index 37ca77e..9f7b19e 100644
--- a/elivepatch_client/client/argsparser.py
+++ b/elivepatch_client/client/argsparser.py
@@ -35,7 +35,7 @@ class ArgsParser(object):
formatter_class=argparse.RawDescriptionHelpFormatter,
)
parser.set_defaults(**defaults)
- parser.add_argument("-e","--cve", help="Check for secutiry problems in the kernel.")
+ parser.add_argument("-e","--cve", action='store_true', help="Check for secutiry problems in the kernel.")
parser.add_argument("-p","--patch", help="patch to convert.")
parser.add_argument("-k","--config", help="set kernel config file manually.")
parser.add_argument("-d","--debug", action='store_true', help="set the debug option.")