File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use clap::Parser;
4
4
pub struct Opt {
5
5
#[ arg( verbatim_doc_comment) ]
6
6
/// Login with your personal access token (PAT)
7
- /// Example: cnb user --login FOOBARBAZ
7
+ /// Example: cnb user --login ' FOOBARBAZ'
8
8
/// PAT will be saved in ~/.cnbrc
9
9
/// You can create PAT in https://account.cnblogs.com/tokens
10
10
#[ arg( long) ]
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ pub struct Args {
25
25
26
26
#[ arg( verbatim_doc_comment) ]
27
27
/// Execute with specific PAT
28
- /// Example: cnb --with-pat FOOBARBAZ post --list
28
+ /// Example: cnb --with-pat ' FOOBARBAZ' post --list
29
29
/// Your PAT in ~/.cnbrc will be ignored in this execution if it exists
30
30
/// Please login if you don't want to input PAT everytime, try 'cnb user --help' for more details
31
31
#[ arg( long) ]
You can’t perform that action at this time.
0 commit comments