doc: update pipe/socket examples for --inherit-fd

The syntax of the inherit-fd functionality for unix socket and pipe
includes a colon.

Fixes: 0df3f79fc0 ("criu(8): fix --inherit-fd description")
Fixes: c37324b6d0 ("crtools: describe the inherit-fd option")
Signed-off-by: Mark Polyakov <mark@thundercompute.com>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Mark Polyakov 2025-11-11 15:48:42 -08:00 committed by Andrei Vagin
parent 62aadb22ab
commit 2cf8f13ca1
2 changed files with 4 additions and 4 deletions

View file

@ -502,8 +502,8 @@ Restores previously checkpointed processes.
The 'resource' argument can be one of the following:
+
- **tty[**__rdev__**:**__dev__**]**
- **pipe[**__inode__**]**
- **socket[**__inode__*]*
- **pipe:[**__inode__**]**
- **socket:[**__inode__*]*
- **file[**__mnt_id__**:**__inode__**]**
- 'path/to/file'

View file

@ -503,8 +503,8 @@ usage:
" Inherit file descriptors, treating fd NUM as being\n"
" already opened via an existing RES, which can be:\n"
" tty[rdev:dev]\n"
" pipe[inode]\n"
" socket[inode]\n"
" pipe:[inode]\n"
" socket:[inode]\n"
" file[mnt_id:inode]\n"
" /memfd:name\n"
" path/to/file\n"