]> git.sesse.net Git - bcachefs-tools-debian/commit
cmd_format: Check for device options after device arguments
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 7 Nov 2023 00:01:15 +0000 (19:01 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 7 Nov 2023 00:02:40 +0000 (19:02 -0500)
commitcc902bb4bf7d990dfd3f9b815fcfc6311fbe0088
treeb96b7361249b74e89b962b41c3967049c5da5b42
parent26efa5cf2eb7b20777eaa512dbd9496ac76eda79
cmd_format: Check for device options after device arguments

It's a common user error to specify device specific options at the end
of a format command, and then not have them apply to any devices - add a
check for this.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
cmd_format.c