diff --git a/tz.py b/tww.py similarity index 97% rename from tz.py rename to tww.py index e302455..80c2dd4 100644 --- a/tz.py +++ b/tww.py @@ -1,5 +1,8 @@ +#!/usr/bin/env python """ +Find time now, in the past or future in any timezone or location. """ + import os import argparse import logging @@ -19,7 +22,7 @@ logger = logging.getLogger() def parse_args(): parser = argparse.ArgumentParser() - parser.add_argument('query', nargs='*', help=" to ") + parser.add_argument('query', nargs='*', default="now", help=" to ") parser.add_argument('--format', dest='format', default=DEFAULT_FORMAT) parser.add_argument('--iso', dest='iso', action='store_true') parser.add_argument('--debug', dest='debug', action='store_true')