]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkfs-util: Make sure we pass non option arguments last 34266/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 5 Sep 2024 14:09:22 +0000 (16:09 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 5 Sep 2024 14:37:34 +0000 (16:37 +0200)
commit9b18dcf8c23fdc255708782cfdd2173692b14538
treed62ef2613142459509a2569877cd53ae904f311f
parent362efc38043a5b675474a8e2697d50b913290ba7
mkfs-util: Make sure we pass non option arguments last

POSIX specifies that getopt() stops parsing options when it encounters
a non-option argument, so let's make sure we pass non-option arguments
last.
src/shared/mkfs-util.c