pages*: remove curly braces from example descriptions (#11462)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
`cryptsetup luksFormat {{/dev/sda1}}`
|
||||
|
||||
- Open a LUKS volume and create a decrypted mapping at `/dev/mapper/{{target}}`:
|
||||
- Open a LUKS volume and create a decrypted mapping at `/dev/mapper/target`:
|
||||
|
||||
`cryptsetup luksOpen {{/dev/sda1}} {{target}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> A dynamic tiling window manager.
|
||||
> More information: <https://i3wm.org/docs/userguide.html>.
|
||||
|
||||
- Start i3 (Note that a pre-existing window manager must not be open when this command is run.):
|
||||
- Start i3 (Note that a pre-existing window manager must not be open when this command is run):
|
||||
|
||||
`i3`
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
|
||||
`Super + Shift + {{number}}`
|
||||
|
||||
- Switch to workspace {{number}}:
|
||||
- Switch to workspace number `n`:
|
||||
|
||||
`Super + {{number}}`
|
||||
`Super + {{n}}`
|
||||
|
||||
- Open new window horizontally:
|
||||
|
||||
|
@@ -11,14 +11,14 @@
|
||||
|
||||
`lsns --json`
|
||||
|
||||
- List namespaces associated with {{pid}}:
|
||||
- List namespaces associated with the specified process:
|
||||
|
||||
`lsns --task {{pid}}`
|
||||
|
||||
- List the specified type of namespaces only:
|
||||
|
||||
`lsns --type <mnt|net|ipc|user|pid|uts|cgroup|time>`
|
||||
`lsns --type {{mnt|net|ipc|user|pid|uts|cgroup|time}}`
|
||||
|
||||
- List namespaces, only showing the namespace ID, type, PID, and command:
|
||||
|
||||
`lsns --output NS,TYPE,PID,COMMAND`
|
||||
`lsns --output {{NS,TYPE,PID,COMMAND}}`
|
||||
|
@@ -4,7 +4,7 @@
|
||||
> OSTree is the foundation for immutable image-based operating systems such as Fedora Silverblue, Fedora IoT or Fedora CoreOS.
|
||||
> More information: <https://ostreedev.github.io/ostree>.
|
||||
|
||||
- Initialize a repository of the files in `$PWD` with metadata in `$PWD/{{path/to/repo}}`:
|
||||
- Initialize a repository of the files in `$PWD` with metadata in `$PWD/path/to/repo`:
|
||||
|
||||
`ostree init --repo {{path/to/repo}}`
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
`setcap '{{cap_net_raw}}' {{path/to/file}}`
|
||||
|
||||
- Set multiple capabilities on a file (ep behind the capability means "effective permitted"):
|
||||
- Set multiple capabilities on a file (`ep` behind the capability means "effective permitted"):
|
||||
|
||||
`setcap '{{cap_dac_read_search,cap_sys_tty_config+ep}}' {{path/to/file}}`
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
`setcap -v '{{cap_net_raw}}' {{path/to/file}}`
|
||||
|
||||
- The optional `-n {{rootuid}}` argument can be used to set the file capability for use only in a user namespace with this root user ID owner:
|
||||
- The optional `-n root_uid` argument can be used to set the file capability for use only in a user namespace with this root user ID owner:
|
||||
|
||||
`setcap -n {{rootuid}} '{{cap_net_admin}}' {{path/to/file}}`
|
||||
`setcap -n {{root_uid}} '{{cap_net_admin}}' {{path/to/file}}`
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
`uvcdynctrl -c`
|
||||
|
||||
- Set a new control value (for negative values, add -- before {{-value}}):
|
||||
- Set a new control value (for negative values, use `-- -value`):
|
||||
|
||||
`uvcdynctrl -s {{control_name}} {{value}}`
|
||||
|
||||
|
@@ -19,6 +19,6 @@
|
||||
|
||||
`whatis --regex '{{wish[0-9]\.[0-9]}}'`
|
||||
|
||||
- Display descriptions of a specific language (requires `manpage-{{locale}}` package):
|
||||
- Display descriptions in a specific language:
|
||||
|
||||
`whatis --locale={{en}} {{command}}`
|
||||
|
Reference in New Issue
Block a user