.\" Pipe this output to groff -m man -K utf8 -T utf8 | less -R .\" .mso an.tmac .TH "CMDLINER-GENERIC-COMPLETION" 1 "" "Cmdliner v2.1.1" "Cmdliner Manual" .\" Disable hyphenation and ragged-right .nh .ad l .SH NAME .P cmdliner\-generic\-completion \- Output generic completion scripts .SH SYNOPSIS .P \fBcmdliner generic\-completion\fR [\fIOPTION\fR]… \fISHELL\fR .SH DESCRIPTION .P \fBcmdliner generic\-completion\fR outputs the generic cmdliner completion script for a given shell\N'46' Examples: .P .nf \fBcmdliner generic\-completion\fR \fBzsh\fR .fi .sp -1 .P .nf \fBeval\fR \fB$(\fR\fBcmdliner generic\-completion\fR \fBzsh)\fR .fi .P The script needs to be loaded in a shell for tool specific scripts output by the command \fBtool\-completion\fR to work\N'46' See command \fBinstall generic\-completion\fR to install them\N'46' .SH ARGUMENTS .TP 4 \fISHELL\fR (required) \fISHELL\fR the shell to support, must be one of \fBbash\fR, \fBzsh\fR or \fBpwsh\fR\N'46' .SH COMMON OPTIONS .TP 4 \fB\-\-help\fR[=\fIFMT\fR] (default=\fBauto\fR) Show this help in format \fIFMT\fR\N'46' The value \fIFMT\fR must be one of \fBauto\fR, \fBpager\fR, \fBgroff\fR or \fBplain\fR\N'46' With \fBauto\fR, the format is \fBpager\fR or \fBplain\fR whenever the \fBTERM\fR env var is \fBdumb\fR or undefined\N'46' .TP 4 \fB\-\-version\fR Show version information\N'46' .SH EXIT STATUS .P \fBcmdliner generic\-completion\fR exits with: .TP 4 0 on success\N'46' .TP 4 123 on indiscriminate errors reported on standard error\N'46' .TP 4 124 on command line parsing errors\N'46' .TP 4 125 on unexpected internal errors (bugs)\N'46' .SH SEE ALSO .P cmdliner(1)