mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:17:45 +00:00
Base: Add more manpages for command-line utilities
This commit is contained in:
parent
5d8585df97
commit
57340dda36
25 changed files with 749 additions and 0 deletions
28
Base/usr/share/man/man1/copy.md
Normal file
28
Base/usr/share/man/man1/copy.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
## Name
|
||||
|
||||
copy - copy text to the clipboard
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ copy [options...] [text...]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
`copy` copies text from stdin or command-line argument (`text`) to the system clipboard. The clipboard is managed by WindowServer.
|
||||
|
||||
## Options
|
||||
|
||||
* `-t type`, `--type type`: MIME type of data stored in clipboard. The default type is `text/plain`.
|
||||
* `-c`, `--clear`: Clear the clipboard instead of copying.
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
# Copy some image to clipboard
|
||||
$ cat image.png | copy -t image/png
|
||||
|
||||
# Place text 'foo' in clupboard
|
||||
$ copy foo
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue