Closed francesco-scar closed 4 months ago
Why would we have a no-printing ?
I don't know, I was considering a scenario where you might only want to save the dump to a file and avoid lengthy printing; I wasn't sure if the previous behavior was desired or not. If you believe it's better, I can simply remove that option.
Thanks for the interest and effort of making a PR, however I just don't see the purpose with this.
Closing.
Okay, but can we just add a way to view the dumped data without saving it to a file? It's quite annoying to have to repeatedly execute two commands, saving to a file and then displaying its content, just to view the data. Additionally, without printing, I believe the --ns (no save) option is rather useless.
We have hf mf view -h
for viewing memory dump files.
We have hf mf dump
for saving and print card memory
We have hf mf dump --ns
for viewing card memory
The use-case for saving only , I just don't see we need that.
With the current code, the hf mf dump
command doesn't print the card memory to the screen (correct me if I'm wrong).
Hm...
and here I was certain the dump was printed like in the other dump commands.
I pushed a fix for that.
Alright, now I see the reason for your PR, I already added your stuff, so I will close this PR, but you got mentioned in both CHANGELOG and Commit message.
Sorry for the convenience
Added dump print by default in
hf mf dump
and now supports the noprint flag to allow the same behavior as before. Also updated the changelog for past commits.