@@ -556,7 +556,7 @@ static int get_smart_log(int argc, char **argv, struct command *cmd, struct plug
556
556
if (cfg .raw_binary )
557
557
flags = BINARY ;
558
558
559
- if (cfg .human_readable )
559
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
560
560
flags |= VERBOSE ;
561
561
562
562
smart_log = nvme_alloc (sizeof (* smart_log ));
@@ -1066,7 +1066,7 @@ static int get_effects_log(int argc, char **argv, struct command *cmd, struct pl
1066
1066
if (cfg .raw_binary )
1067
1067
flags = BINARY ;
1068
1068
1069
- if (cfg .human_readable )
1069
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
1070
1070
flags |= VERBOSE ;
1071
1071
1072
1072
list_head_init (& log_pages );
@@ -2405,7 +2405,7 @@ static int sanitize_log(int argc, char **argv, struct command *command, struct p
2405
2405
if (cfg .raw_binary )
2406
2406
flags = BINARY ;
2407
2407
2408
- if (cfg .human_readable )
2408
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
2409
2409
flags |= VERBOSE ;
2410
2410
2411
2411
sanitize_log = nvme_alloc (sizeof (* sanitize_log ));
@@ -2454,7 +2454,7 @@ static int get_fid_support_effects_log(int argc, char **argv, struct command *cm
2454
2454
return err ;
2455
2455
}
2456
2456
2457
- if (cfg .human_readable )
2457
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
2458
2458
flags |= VERBOSE ;
2459
2459
2460
2460
fid_support_log = nvme_alloc (sizeof (* fid_support_log ));
@@ -2503,7 +2503,7 @@ static int get_mi_cmd_support_effects_log(int argc, char **argv, struct command
2503
2503
return err ;
2504
2504
}
2505
2505
2506
- if (cfg .human_readable )
2506
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
2507
2507
flags |= VERBOSE ;
2508
2508
2509
2509
mi_cmd_support_log = nvme_alloc (sizeof (* mi_cmd_support_log ));
@@ -3428,7 +3428,7 @@ int __id_ctrl(int argc, char **argv, struct command *cmd, struct plugin *plugin,
3428
3428
if (cfg .vendor_specific )
3429
3429
flags |= VS ;
3430
3430
3431
- if (cfg .human_readable )
3431
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
3432
3432
flags |= VERBOSE ;
3433
3433
3434
3434
ctrl = nvme_alloc (sizeof (* ctrl ));
@@ -3748,7 +3748,7 @@ static int id_ns(int argc, char **argv, struct command *cmd, struct plugin *plug
3748
3748
if (cfg .vendor_specific )
3749
3749
flags |= VS ;
3750
3750
3751
- if (cfg .human_readable )
3751
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
3752
3752
flags |= VERBOSE ;
3753
3753
3754
3754
if (!cfg .namespace_id ) {
@@ -3820,7 +3820,7 @@ static int cmd_set_independent_id_ns(int argc, char **argv, struct command *cmd,
3820
3820
if (cfg .raw_binary )
3821
3821
flags = BINARY ;
3822
3822
3823
- if (cfg .human_readable )
3823
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
3824
3824
flags |= VERBOSE ;
3825
3825
3826
3826
if (!cfg .namespace_id ) {
@@ -3974,7 +3974,7 @@ static int id_uuid(int argc, char **argv, struct command *cmd, struct plugin *pl
3974
3974
if (cfg .raw_binary )
3975
3975
flags = BINARY ;
3976
3976
3977
- if (cfg .human_readable )
3977
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
3978
3978
flags |= VERBOSE ;
3979
3979
3980
3980
uuid_list = nvme_alloc (sizeof (* uuid_list ));
@@ -4214,7 +4214,7 @@ static int primary_ctrl_caps(int argc, char **argv, struct command *cmd, struct
4214
4214
return err ;
4215
4215
}
4216
4216
4217
- if (cfg .human_readable )
4217
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
4218
4218
flags |= VERBOSE ;
4219
4219
4220
4220
caps = nvme_alloc (sizeof (* caps ));
@@ -5410,7 +5410,7 @@ static int show_registers(int argc, char **argv, struct command *cmd, struct plu
5410
5410
return err ;
5411
5411
}
5412
5412
5413
- if (cfg .human_readable )
5413
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
5414
5414
flags |= VERBOSE ;
5415
5415
5416
5416
bar = mmap_registers (dev , false);
@@ -5686,7 +5686,7 @@ static int get_register(int argc, char **argv, struct command *cmd, struct plugi
5686
5686
return err ;
5687
5687
}
5688
5688
5689
- if (cfg .human_readable )
5689
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
5690
5690
flags |= VERBOSE ;
5691
5691
5692
5692
bar = mmap_registers (dev , false);
@@ -8479,7 +8479,7 @@ static int dir_receive(int argc, char **argv, struct command *cmd, struct plugin
8479
8479
if (err )
8480
8480
return err ;
8481
8481
8482
- if (cfg .human_readable )
8482
+ if (cfg .human_readable || argconfig_parse_seen ( opts , "verbose" ) )
8483
8483
flags |= VERBOSE ;
8484
8484
if (cfg .raw_binary )
8485
8485
flags = BINARY ;
0 commit comments