Adding upstream version 2.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
65508f0a28
commit
c0fbec1eb4
571 changed files with 10718 additions and 2738 deletions
|
@ -505,7 +505,9 @@ static int dapustor_additional_smart_log(int argc, char **argv, struct command *
|
|||
const char *desc = "Get DapuStor vendor specific additional smart log, and show it.";
|
||||
const char *namespace = "(optional) desired namespace";
|
||||
const char *raw = "Dump output in binary format";
|
||||
#ifdef CONFIG_JSONC
|
||||
const char *json = "Dump output in json format";
|
||||
#endif /* CONFIG_JSONC */
|
||||
|
||||
struct nvme_additional_smart_log smart_log;
|
||||
struct nvme_extended_additional_smart_log ext_smart_log;
|
||||
|
@ -526,7 +528,7 @@ static int dapustor_additional_smart_log(int argc, char **argv, struct command *
|
|||
OPT_ARGS(opts) = {
|
||||
OPT_UINT("namespace-id", 'n', &cfg.namespace_id, namespace),
|
||||
OPT_FLAG("raw-binary", 'b', &cfg.raw_binary, raw),
|
||||
OPT_FLAG("json", 'j', &cfg.json, json),
|
||||
OPT_FLAG_JSON("json", 'j', &cfg.json, json),
|
||||
OPT_END()
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue