Skip to content
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

Update cmdhficlass.c #2153

Merged
merged 2 commits into from
Nov 3, 2023
Merged

Update cmdhficlass.c #2153

merged 2 commits into from
Nov 3, 2023

Conversation

Antiklesys
Copy link
Contributor

Fixed ranges for configcards generation to prevent users from generating 00s cards when selecting an unavailable option.
Updated description to clarify cardhelper is optional

Fixed ranges for configcards generation
@github-actions
Copy link

You are welcome to add an entry to the CHANGELOG.md as well

"hf iclass configcard -l --> download config card settings\n"
"hf iclass configcard -p --> print all config cards\n"
"hf iclass configcard -l --> download config card settings (requires card helper)\n"
"hf iclass configcard -p --> print all config cards in the database (doesn't require cardhelper)\n"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you suggest a rewording to clarify -p will also work without card helper but -l does require it? As that was my intent behind this clarification

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

people always think that if they only write more text, then others will read and understand.

I say, be very precise and to the point. Remove the need for "fillers"

In the over description, remove exampl line with "-l" , remove all your fillers.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then removing the example line -l will hide a functionality that's still available in the software but people won't know the command for it. Let me try with a different wording.

Updated to use arraylen as suggested by iceman, but to do so without facing other issues /buggy behaviors I had to perform additional code changes.
@iceman1001
Copy link
Collaborator

the last item, was suppose to have a optional length. I see that its been hardcoded to 14 and now 13.
this is wrong. That list must be dynamic.

@Antiklesys
Copy link
Contributor Author

It was already hardcoded to 14 before any changes I made from my end. I changed it to 13 as I removed a line, but that’s it.

@iceman1001
Copy link
Collaborator

yeah, its suppose to be dynamic.

@iceman1001 iceman1001 merged commit b405706 into RfidResearchGroup:master Nov 3, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants