index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Kian-Meng Ang <kianmeng.ang@gmail.com> | 2022-05-29 15:31:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 09:31:18 +0200 |
commit | 2de153003ed5de1018639070fabc9c9e583c49d1 (patch) | |
tree | 3bf487686ba2aaa5d469af77ef18998efdcab941 /archinstall/__init__.py | |
parent | b2f85889a7a935a4d9638fe0fec5aac45e721b09 (diff) |
-rw-r--r-- | archinstall/__init__.py | 4 |
diff --git a/archinstall/__init__.py b/archinstall/__init__.py index 7edeaa80..786be1c5 100644 --- a/archinstall/__init__.py +++ b/archinstall/__init__.py @@ -91,7 +91,7 @@ def parse_unspecified_argument_list(unknowns :list, multiple :bool = False, erro --argument=value --argument = value --argument (boolean as default) - the optional paramters to the function alter a bit its behaviour: + the optional parameters to the function alter a bit its behaviour: * multiple allows multivalued arguments, each value separated by whitespace. They're returned as a list * error. If set any non correctly specified argument-value pair to raise an exception. Else, simply notifies the existence of a problem and continues processing. @@ -104,7 +104,7 @@ def parse_unspecified_argument_list(unknowns :list, multiple :bool = False, erro key = None last_key = None while tmp_list: - element = tmp_list.pop(0) # retreive an element of the list + element = tmp_list.pop(0) # retrieve an element of the list if element.startswith('--'): # is an argument ? if '=' in element: # uses the arg=value syntax ? key, value = [x.strip() for x in element[2:].split('=', 1)] |