Skip to content

Commit

Permalink
Forgot to include the updated comment in psort.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddinn committed Dec 4, 2012
1 parent c530e9c commit e9aea78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/psort.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def End(self):
version='log2timeline - psort version %s' % __version__,
help='Show the current version of psort.')

parser.add_argument('protofile', metavar='PLASOFILE', default=None,
parser.add_argument('storagefile', metavar='PLASOFILE', default=None,
nargs='?', help='Path to the Plaso storage file')

parser.add_argument(
Expand Down Expand Up @@ -354,17 +354,17 @@ def End(self):
print '=' * 40
sys.exit(0)

if not my_args.protofile:
if not my_args.storagefile:
parser.print_help()
print ''
parser.print_usage()
print ''
logging.error('-s STORAGEFILE required! or -h for HELP')
logging.error('STORAGEFILE required! or -h for HELP')
sys.exit(0)

first, last = GetTimes(my_args)

with SetupStorage(my_args.protofile) as store:
with SetupStorage(my_args.storagefile) as store:
# Identify Files
range_checked_pb_nums = ReadMeta(store, first, last)
if my_args.write: # writing to file.
Expand Down

0 comments on commit e9aea78

Please sign in to comment.