Skip to content

Deal with escaped characters in autogenerated man completions #7086

Closed
@ammgws

Description

@ammgws

I am not familiar with how escaping works in manpages but it seems like some escape single quotes as '(cq' etc, which gets picked up as-is by the fish completion generation script. Might be nice to see if this could be fixed trivially.

.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
pacstrap \- install packages to the specified new root directory
.SH "SYNOPSIS"
.sp
pacstrap [options] root [packages\&...]
.SH "DESCRIPTION"
.sp
pacstrap is designed to create a new system installation from scratch\&. The specified packages will be installed into a given directory after setting up some basic mountpoints\&. By default, the host system\(cqs pacman signing keys and mirrorlist will be used to seed the chroot\&.
.sp
If no packages are specified to be installed, the \fIbase\fR group will be installed\&.
.SH "OPTIONS"
.PP
\fB\-C\fR <config>
.RS 4
Use an alternate config file for pacman\&.
.RE
.PP
\fB\-c\fR
.RS 4
Use the package cache on the host, rather than the target\&.
.RE
.PP
\fB\-G\fR
.RS 4
Avoid copying the host\(cqs pacman keyring to the target\&.
.RE
.PP
\fB\-i\fR
.RS 4
Prompt for package confirmation when needed (run interactively)\&.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions