-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: exercise limits for read session #27
Conversation
src/main.rs
Outdated
@@ -224,9 +225,11 @@ enum StreamActions { | |||
output: Option<RecordsOut>, | |||
|
|||
/// Limit the number of records returned. | |||
#[arg(long)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have -n
for this as well?
Nit: Can you make sure the char short is consistently explicit? |
oh is it because clap might panic if it automatically assigns the name? i.e. two commands having the same short arg |
@shikhar just making short args explicit for |
IMO just helps a bit to make sure we have the ergonomics in mind when adding args |
No description provided.