From 962a414327d93b604a59a4b8c8582d359745009d Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 24 Oct 2014 14:01:34 +1300 Subject: Fix tests, re-add scripts --- libpathod/main.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libpathod/main.py') diff --git a/libpathod/main.py b/libpathod/main.py index 6f53832d..ff407ff6 100644 --- a/libpathod/main.py +++ b/libpathod/main.py @@ -17,8 +17,14 @@ def pathoc(): print " ", i[1], i[0] sys.exit(0) - parser = argparse.ArgumentParser(description='A perverse HTTP client.', parents=[preparser]) - parser.add_argument('--version', action='version', version="pathoc " + version.VERSION) + parser = argparse.ArgumentParser( + description='A perverse HTTP client.', parents=[preparser] + ) + parser.add_argument( + '--version', + action='version', + version="pathoc " + version.VERSION + ) parser.add_argument( "-c", dest="connect_to", type=str, default=False, metavar = "HOST:PORT", -- cgit v1.2.3