mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add autocompletion script generation for the cpumf family of tools (chcpumf, lscpumf, lshwc, lspai, pai) Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Szabina Korbai <szkorbai@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
29 lines
673 B
C
29 lines
673 B
C
// SPDX-License-Identifier: MIT
|
|
/*
|
|
* Autocompletion generation - for cpumf family of tools
|
|
*
|
|
* Copyright IBM Corp. 2025
|
|
*
|
|
* s390-tools is free software; you can redistribute it and/or modify
|
|
* it under the terms of the MIT license. See LICENSE for details.
|
|
*/
|
|
|
|
#include "lib/util_autocomp.h"
|
|
|
|
#include "chcpumf_cli.h"
|
|
#include "lscpumf_cli.h"
|
|
#include "lshwc_cli.h"
|
|
#include "lspai_cli.h"
|
|
#include "pai_cli.h"
|
|
|
|
int main(void)
|
|
{
|
|
generate_autocomp(chcpumf_opt_vec, "chcpumf");
|
|
generate_autocomp(lscpumf_opt_vec, "lscpumf");
|
|
generate_autocomp(lshwc_opt_vec, "lshwc");
|
|
generate_autocomp(lspai_opt_vec, "lspai");
|
|
generate_autocomp(pai_opt_vec, "pai");
|
|
|
|
return 0;
|
|
}
|