apfsprogs
apfsprogs copied to clipboard
Add long option to apfs-label & apfs-snap
Hi, I already saw your pull requests a while ago, it's just that I'm doing a lot of work on apfsprogs locally and I don't want to make a mess. I'll probably look into it in a few days.
Hi, I already saw your pull requests a while ago, it's just that I'm doing a lot of work on apfsprogs locally and I don't want to make a mess. I'll probably look into it in a few days.
Okay, thanks :)
@eafer
Do you need this to support long options for a particular reason?
Do you need this to support long options for a particular reason?
Just because most of Linux commands, including file system user utilities, support --version argument.
I just checked and the mkfs tools for ext4 and xfs don't have a long --version. In fact they don't use -v, they use -V heh. I think it's better to leave it as it is, I don't know if there are portability issues with getopt_long.
I just checked and the mkfs tools for ext4 and xfs don't have a long --version. In fact they don't use -v, they use -V heh. I think it's better to leave it as it is, I don't know if there are portability issues with getopt_long.
Btrfs tool has --version option:
╰─❯ btrfs --version
btrfs-progs v6.11
-EXPERIMENTAL -INJECT -STATIC +LZO +ZSTD +UDEV +FSVERITY +ZONED CRYPTO=libgcrypt
Sure, I know that plenty of other tools have --version. I just meant that it's not universal, so it's not a problem if it's missing.