In the middle of the desert you can say anything you want

16 Mar 2022

argparse does prefix matching

Wow. WOW.

Wrote a program accepting a LONG --yes_delete_all_data_completely, without a short version, to make sure no one does an error and deletes everything.

Today I mistyped a --y parameter, it started in the mode above.

Then I learned that argparse does prefix matching.

Nel mezzo del deserto posso dire tutto quello che voglio.