summaryrefslogtreecommitdiffstats
path: root/src/ukify/ukify.py
diff options
context:
space:
mode:
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>2023-09-19 17:45:44 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-09-20 17:37:23 +0200
commit7c52d5236a3bc85db1755de6a458934be095cd1c (patch)
tree227fc60923c865d8f0740e92aab35d6422ed8abb /src/ukify/ukify.py
parentMerge pull request #29239 from poettering/clock-nanosleep (diff)
downloadsystemd-7c52d5236a3bc85db1755de6a458934be095cd1c.tar.xz
systemd-7c52d5236a3bc85db1755de6a458934be095cd1c.zip
treewide: split commandline into command line
Diffstat (limited to 'src/ukify/ukify.py')
-rwxr-xr-xsrc/ukify/ukify.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py
index 890a694e68..432dc87988 100755
--- a/src/ukify/ukify.py
+++ b/src/ukify/ukify.py
@@ -1523,7 +1523,7 @@ def finalize_options(opts):
elif opts.linux or opts.initrd:
raise ValueError('--linux/--initrd options cannot be used with positional arguments')
else:
- print("Assuming obsolete commandline syntax with no verb. Please use 'build'.")
+ print("Assuming obsolete command line syntax with no verb. Please use 'build'.")
if opts.positional:
opts.linux = pathlib.Path(opts.positional[0])
# If we have initrds from parsing config files, append our positional args at the end
@@ -1543,8 +1543,8 @@ def finalize_options(opts):
if opts.cmdline and opts.cmdline.startswith('@'):
opts.cmdline = pathlib.Path(opts.cmdline[1:])
elif opts.cmdline:
- # Drop whitespace from the commandline. If we're reading from a file,
- # we copy the contents verbatim. But configuration specified on the commandline
+ # Drop whitespace from the command line. If we're reading from a file,
+ # we copy the contents verbatim. But configuration specified on the command line
# or in the config file may contain additional whitespace that has no meaning.
opts.cmdline = ' '.join(opts.cmdline.split())