1
0
Fork 0

Mention --copy option for search command

This commit is contained in:
Daniele Tricoli 2015-12-12 17:50:23 +01:00
parent c37442b58c
commit efb2827eb3
2 changed files with 28 additions and 0 deletions

View File

@ -139,3 +139,18 @@ A61B -- VAI SYMBOL DOONG -- ꘛ
# Note: Capital C and Capital H are missing from UnicodeData.txt
```
### Copy into clipboard ###
Option `--copy` (compact form `-c`) can be used to copy the glyph directly into
the clipboard when search return only one row:
```console
% piken search --copy door
WARN[0000] Copy to clipboard not allowed for multiple rows.
2F3E -- KANGXI RADICAL DOOR -- ⼾
1F6AA -- DOOR -- 🚪
% piken search --copy door NOT k*
1F6AA -- DOOR -- 🚪
```

13
doc.go
View File

@ -131,5 +131,18 @@ Specify column used to search
1D50F -- MATHEMATICAL FRAKTUR CAPITAL L -- 𝔏
# Note: Capital C and Capital H are missing from UnicodeData.txt
Copy into clipboard
Option "--copy" (compact form "-c") can be used to copy the glyph directly into
the clipboard when search return only one row:
% piken search --copy door
WARN[0000] Copy to clipboard not allowed for multiple rows.
2F3E -- KANGXI RADICAL DOOR --
1F6AA -- DOOR -- 🚪
% piken search --copy door NOT k*
1F6AA -- DOOR -- 🚪
*/
package main // import "eriol.xyz/piken"