Added docstrings and more comments in the main directory.
[realism.git] / args.py
blobe42d944e2871a02142b172e3f0e3e2a300f303af
1 # This file is part of Realism, which is Copyright FunnyMan3595 (Charlie Nolan)
2 # and licensed under the GNU GPL v3. For more details, see LICENSE in the main
3 # Realism directory.
5 '''Handles argument parsing. Provides the following values:
6 mod: The name of the mod that has been requested.'''
8 from sys import argv
10 if len(argv) > 1:
11 mod = argv[-1]
12 else:
13 mod = ""