File tree Expand file tree Collapse file tree 4 files changed +15
-8
lines changed
Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,12 @@ pub fn make_command(command: Command) -> Command {
2828 . long ( "query" )
2929 . value_name ( "QUERY" )
3030 . default_value ( "" )
31- . help ( "Query to pass at the request. An example is \" is:unresolved\" " ) ,
31+ . hide_default_value ( true )
32+ . help (
33+ "Query to filter issues. Example: \" is:unresolved\" . \
34+ If omitted, no filtering is applied. \
35+ See https://docs.sentry.io/concepts/search/ for syntax.",
36+ ) ,
3237 )
3338}
3439
Original file line number Diff line number Diff line change @@ -65,8 +65,10 @@ pub(super) struct ListLogsArgs {
6565 #[ arg( help = format!( "Maximum number of log entries to fetch and display (max {})." , MAX_ROWS_RANGE . end( ) ) ) ]
6666 max_rows : NonZeroUsize ,
6767
68- #[ arg( long = "query" , default_value = "" ) ]
69- #[ arg( help = "Query to filter logs. Example: \" level:error\" " ) ]
68+ #[ arg( long = "query" , default_value = "" , hide_default_value = true ) ]
69+ #[ arg( help = "Query to filter logs. Example: \" level:error\" . \
70+ If omitted, no filtering is applied. \
71+ See https://docs.sentry.io/concepts/search/ for syntax.") ]
7072 query : String ,
7173
7274 #[ arg( long = "live" ) ]
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ Options:
1313 -p, --project <PROJECT> The project ID or slug.
1414 --pages <PAGES> Maximum number of pages to fetch (100 issues/page). [default: 5]
1515 --auth-token <AUTH_TOKEN> Use the given Sentry auth token.
16- --query <QUERY> Query to pass at the request. An example is "is:unresolved"
17- [default: ]
16+ --query <QUERY> Query to filter issues. Example: "is:unresolved". If omitted, no
17+ filtering is applied. See https://docs.sentry.io/concepts/search/
18+ for syntax.
1819 -s, --status <STATUS> Select all issues matching a given status. [possible values:
1920 resolved, muted, unresolved]
2021 -a, --all Select all issues (this might be limited).
Original file line number Diff line number Diff line change @@ -29,9 +29,8 @@ Options:
2929 [default: 100]
3030
3131 --query <QUERY>
32- Query to filter logs. Example: "level:error"
33-
34- [default: ]
32+ Query to filter logs. Example: "level:error". If omitted, no filtering is applied. See
33+ https://docs.sentry.io/concepts/search/ for syntax.
3534
3635 --live
3736 Live stream logs.
You can’t perform that action at this time.
0 commit comments