mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-16 09:46:55 +00:00
btrfs-progs: convert, fix typo in getopt value
Unfortunatelly GETOPT_VAL_IEC is not equal to GETOPT_VAL_NO_PROGRESS so --no-progress had no effect. Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
d738c3d292
commit
3bd8c99274
@ -2830,7 +2830,8 @@ int main(int argc, char *argv[])
|
||||
int long_index;
|
||||
enum { GETOPT_VAL_NO_PROGRESS = 256 };
|
||||
static const struct option long_options[] = {
|
||||
{ "no-progress", no_argument, NULL, GETOPT_VAL_IEC},
|
||||
{ "no-progress", no_argument, NULL,
|
||||
GETOPT_VAL_NO_PROGRESS },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
int c = getopt_long(argc, argv, "dinN:rl:Lp", long_options,
|
||||
|
Loading…
Reference in New Issue
Block a user