index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Metin Yazici <me@strboul.com> | 2022-08-09 20:14:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 20:14:28 +0200 |
commit | 3e10fc106b27c70593147b1c8aef1be221106d75 (patch) | |
tree | f39d26cdd24a01488f483395e9e82699f025144a /archinstall | |
parent | 437ac124c6f02bc4f1c7e319a8ad407acffe9d8f (diff) |
-rw-r--r-- | archinstall/__init__.py | 1 |
diff --git a/archinstall/__init__.py b/archinstall/__init__.py index f607a922..3e9f8391 100644 --- a/archinstall/__init__.py +++ b/archinstall/__init__.py @@ -66,6 +66,7 @@ def define_arguments(): Remember that the property/entry name python assigns to the parameters is the first string defined as argument and dashes inside it '-' are changed to '_' """ + parser.add_argument("-v", "--version", action="version", version="%(prog)s " + __version__) parser.add_argument("--config", nargs="?", help="JSON configuration file or URL") parser.add_argument("--creds", nargs="?", help="JSON credentials configuration file") parser.add_argument("--disk_layouts","--disk_layout","--disk-layouts","--disk-layout",nargs="?", |