From cd156ee55fc3a5dcb11f10fbc6ad95185bf44cb9 Mon Sep 17 00:00:00 2001 From: Philippe Lagadec Date: Wed, 16 Dec 2015 13:17:36 +0100 Subject: [PATCH] olevba: fixed slight bug in main (no options.input anymore) --- oletools/olevba.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index d9c4375..adde5f8 100755 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -156,6 +156,7 @@ https://github.com/unixfreak0037/officeparser # 2015-10-09 v0.42 PL: - VBA_Parser: split each format into a separate method # 2015-10-10 PL: - added support for text files with VBA source code # 2015-11-17 PL: - fixed bug with --decode option +# 2015-12-16 PL: - fixed bug in main (no options input anymore) __version__ = '0.42' @@ -2418,7 +2419,7 @@ def main(): (options, args) = parser.parse_args() # Print help if no arguments are passed - if len(args) == 0 and not options.input: + if len(args) == 0: print __doc__ parser.print_help() sys.exit() -- libgit2 0.21.4