Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2023-11-22 23:45:13 +0100
committerGitHub <noreply@github.com>2023-11-22 23:45:13 +0100
commita62f8333323452ae0091fe18d57a2ec126e38d2c (patch)
tree9bc45d75d631861e2e17f1deb60593392c6de240 /archinstall
parent2437e901d90a277f35e9f8a927960b6789d18eb8 (diff)
Fixing --skip-ntp. Changed nargs -> action in argparse! (#2250)
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index a77de737..69174549 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -77,7 +77,6 @@ def define_arguments():
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("--skip-ntp", nargs="?", help="Disables NTP checks during instalation")
parser.add_argument("--silent", action="store_true",
help="WARNING: Disables all prompts for input and confirmation. If no configuration is provided, this is ignored")
parser.add_argument("--dry-run", "--dry_run", action="store_true",
@@ -85,6 +84,7 @@ def define_arguments():
parser.add_argument("--script", default="guided", nargs="?", help="Script to run for installation", type=str)
parser.add_argument("--mount-point", "--mount_point", nargs="?", type=str,
help="Define an alternate mount point for installation")
+ parser.add_argument("--skip-ntp", action="store_true", help="Disables NTP checks during instalation", default=False)
parser.add_argument("--debug", action="store_true", default=False, help="Adds debug info into the log")
parser.add_argument("--offline", action="store_true", default=False,
help="Disabled online upstream services such as package search and key-ring auto update.")