diff options
-rw-r--r-- | rcynic/rcynic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rcynic/rcynic.py b/rcynic/rcynic.py index 970eb767..3cb4c6ff 100644 --- a/rcynic/rcynic.py +++ b/rcynic/rcynic.py @@ -68,7 +68,7 @@ try: if o in ("-?", "-h", "--help"): usage(0) negated = o.startswith("--no-") - o = o[6:] if negated else o[2:] + o = o[5:] if negated else o[2:] if isinstance(opt[o], bool): opt[o] = not negated elif isinstance(opt[o], int): |