]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: hook up suboption parsing to ini files
authorDave Chinner <dchinner@redhat.com>
Fri, 20 Nov 2020 22:03:29 +0000 (17:03 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 20 Nov 2020 22:03:29 +0000 (17:03 -0500)
commitab2eef12070e7c31b53243fd060c4bc78d2fcd79
tree1c9ffce00d774ab0836d9042de5b1da8c2dc222e
parent9c2b30c818150ead5d096f385a1acc3b38a36e04
mkfs: hook up suboption parsing to ini files

Now we have the config file parsing hooked up and feeding in
parameters to mkfs, wire the parameters up to the existing CLI
option parsing functions. THis gives the config file exactly the
same capabilities and constraints as the command line option
specification.

[sandeen: fix whitespace, drop "opt" check in parse_subopts()]

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
mkfs/xfs_mkfs.c