WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit 6690c630 authored by Tobias Pape's avatar Tobias Pape Committed by Stefan Marr
Browse files

add help flag

parent 1ef3050c
......@@ -143,6 +143,8 @@ class Universe(object):
got_classpath = True
elif arguments[i] == "-d":
self._dump_bytecodes = True
elif arguments[i] in ["-h", "--help", "-?"]:
self._print_usage_and_exit()
else:
remaining_args.append(arguments[i])
i += 1
......@@ -181,8 +183,9 @@ class Universe(object):
std_println(" ")
std_println("where options include: ")
std_println(" -cp <directories separated by " + os.pathsep + ">")
std_println(" set search path for application classes")
std_println(" -d enable disassembling")
std_println(" set search path for application classes")
std_println(" -d enable disassembling")
std_println(" -h print this help")
# Exit
self.exit(0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment