Skip to content

Commit

Permalink
CLI arguments parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
equdevel committed Dec 12, 2022
1 parent 3aede90 commit 00a01e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
)
parser.add_argument('-c', '--clear-cache', help='clear mods cache on disk', action='store_true')
parser.add_argument('-u', '--update', help='update mods if new versions exist', action='store_true')
parser.add_argument('-v', '--version', version='1.6', action='version')
args = parser.parse_args()
update = args.update
if args.clear_cache:
Expand Down

0 comments on commit 00a01e7

Please sign in to comment.