edenhill / kcat

Generic command line non-JVM Apache Kafka producer and consumer
Other
5.32k stars 475 forks source link

feature request: add `-v` and `--version` flags #419

Open Cerchie opened 1 year ago

Cerchie commented 1 year ago

Currently, running kcat with these flags results in:

❯ kcat -v
% Auto-selecting Consumer mode (use -P or -C to override)
Error: -t <topic> missing

and

❯ kcat --version
Error: unknown argument

would be good to get the version number with these, e.g.,

❯ kcat --version
kcat VERSION_NUMBER
edenhill commented 1 year ago

There's -V for showing the version. -v is for increasing verbosity.

Den tis 21 feb. 2023 kl 16:43 skrev Lucia Cerchie @.***

:

Currently, running kcat with these flags results in:

❯ kcat -v

% Auto-selecting Consumer mode (use -P or -C to override)

Error: -t missing

and

❯ kcat --version

Error: unknown argument

would be good to get the version number with these, e.g.,

❯ kcat --version

kcat VERSION_NUMBER

— Reply to this email directly, view it on GitHub https://github.com/edenhill/kcat/issues/419, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEAFPW3SKDELDEPZE4P4LDWYTPDLANCNFSM6AAAAAAVDGUK74 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Cerchie commented 1 year ago

Thanks for the clarification! What are the thoughts on --version or -version?

edenhill commented 1 year ago

Haven’t yet seen a need for long options.

ons 22 feb. 2023 kl. 14:19 skrev Lucia Cerchie @.***>:

Thanks for the clarification! What are the thoughts on --version or -version?

— Reply to this email directly, view it on GitHub https://github.com/edenhill/kcat/issues/419#issuecomment-1440004883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEAFPQGWOITA5PCYWUGMBTWYYG5ZANCNFSM6AAAAAAVDGUK74 . You are receiving this because you commented.Message ID: @.***>