Files
fish-shell/doc_src/cmds
Fabian Homborg 7ea8e20623 argparse: Make short flag names optional (#7585)
It was always a bit ridiculous that argparse required `X-longflag` if
that "X" short flag was never actually used anywhere.

Since the short letter is for getopt's benefit, we can hack around
this with our old friend: Unicode Private Use Areas.

We have a counter, starting at 0xE000 and going to 0xF8FF, that counts
up for all options that don't have a short flag and provides one. This
gives us up to 6400 long-only options.

6.4K should be enough for everybody.
2021-01-01 11:37:25 +01:00
..
2020-04-04 10:44:53 +02:00
2020-10-10 21:49:33 +02:00
2020-03-21 15:31:25 +01:00
2020-04-04 10:44:53 +02:00
2020-04-04 10:44:53 +02:00
2020-11-15 11:32:52 +01:00
2020-04-04 10:44:53 +02:00
2020-03-21 15:31:25 +01:00
2020-11-27 19:33:27 +01:00
2020-04-04 10:44:53 +02:00
2020-09-10 20:48:13 +02:00
2020-04-13 22:56:22 +02:00
2020-06-07 19:33:27 +02:00
2020-03-22 15:53:09 +01:00
2020-03-21 15:31:25 +01:00