Skip to content

Commit

Permalink
- [#] cosmetic update cascadia online help text (format)
Browse files Browse the repository at this point in the history
  • Loading branch information
suntong committed Jan 8, 2023
1 parent baaa8f6 commit 7221563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cascadia_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Options:
- Name: Piece
Type: OutputStyleMap
Flag: 'p,piece'
Usage: 'sub CSS selectors within -css to split that block up into pieces\n\t\t\tformat: PieceName=[OutputStyle:]selector_string\n\t\t\tOutputStyle:\n\t\t\t\tRAW : will return the selected as-is\n\t\t\t\tattr[xxx] : will return the value of an attribute named xxx \n\t\t\telse the text will be returned'
Usage: 'sub CSS selectors within -css to split that block up into pieces\n\t\t\t\tformat: PieceName=[OutputStyle:]selector_string\n\t\t\t\t OutputStyle:\n\t\t\t\t RAW : will return the selected as-is\n\t\t\t\t attr[xx] : will return the value of xx attribute\n\t\t\t\telse the text will be returned'

- Name: Deli
Type: string
Expand Down
2 changes: 1 addition & 1 deletion cascadia_cliDef.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type rootT struct {
CSS []string `cli:"*c,css" usage:"CSS selectors (can provide more if not using --piece)"`
TextOut bool `cli:"t,text" usage:"Text output for none-block selection mode"`
TextRaw bool `cli:"R,Raw" usage:"Raw text output, no trimming of leading and trailing white space"`
Piece OutputStyleMap `cli:"p,piece" usage:"sub CSS selectors within -css to split that block up into pieces\n\t\t\tformat: PieceName=[OutputStyle:]selector_string\n\t\t\tOutputStyle:\n\t\t\t\tRAW : will return the selected as-is\n\t\t\t\tattr[xxx] : will return the value of an attribute named xxx \n\t\t\telse the text will be returned"`
Piece OutputStyleMap `cli:"p,piece" usage:"sub CSS selectors within -css to split that block up into pieces\n\t\t\t\tformat: PieceName=[OutputStyle:]selector_string\n\t\t\t\t OutputStyle:\n\t\t\t\t RAW : will return the selected as-is\n\t\t\t\t attr[xx] : will return the value of xx attribute\n\t\t\t\telse the text will be returned"`
Deli string `cli:"d,delimiter" usage:"delimiter for pieces csv output" dft:"\t"`
WrapHTML bool `cli:"w,wrap-html" usage:"wrap up the output with html tags"`
Style string `cli:"y,style" usage:"style component within the wrapped html head"`
Expand Down

0 comments on commit 7221563

Please sign in to comment.