Files
s390-tools/zconf/chp/chchp_cli.h
Szabina Korbai 260a0a2428 chp: Implement zsh and bash autocompletion
Add generation of shell autocompletion scripts
to chchp and lschp.

Acked-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Szabina Korbai <szkorbai@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2026-04-30 08:50:38 +02:00

40 lines
806 B
C

/*
* SPDX-License-Identifier: MIT
*
* Copyright IBM Corp.
*/
#ifndef CHCHP_CLI_H
#define CHCHP_CLI_H
#include "lib/util_opt.h"
/*
* Configuration of command line options
*/
static struct util_opt chchp_opt_vec[] = {
{
.option = { "vary", required_argument, NULL, 'v'},
.argument = "VALUE",
.desc = "Logically vary channel-path to VALUE (1=on, 0=off)",
},
{
.option = { "configure", required_argument, NULL, 'c'},
.argument = "VALUE",
.desc = "Configure channel-path to VALUE (1=on, 0=standby)",
},
{
.option = { "attribute", required_argument, NULL, 'a'},
.argument = "KEY=VALUE",
.desc = "Set channel-path attribute KEY to VALUE",
},
UTIL_OPT_HELP,
{
.option = { "version", 0, NULL, 'V'},
.desc = "Print version information, then exit",
},
UTIL_OPT_END
};
#endif