fish-shell/doc_src
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
..
_static Replace the doc theme with the pydoctheme 2020-10-04 11:05:48 +02:00
cmds argparse: Make short flag names optional (#7585) 2021-01-01 11:37:25 +01:00
python_docs_theme Reformat 2020-11-22 14:39:48 +01:00
CHANGELOG.rst Add CHANGELOG to the docs 2020-05-30 10:07:21 +02:00
commands.rst We no longer have two doc systems, move sphinx_doc_src back to doc_src 2020-02-19 17:00:35 -08:00
completions.rst __fish_complete_suffix: complete all files, but sort files with matching suffix first 2020-12-23 19:14:10 +01:00
conf.py Restyle codebase 2020-12-06 15:39:54 +01:00
design.rst Make rationale spacing consistent 2020-10-12 20:25:35 +02:00
faq.rst fixup! docs: use monospace for inline code snippets more consistently 2020-11-29 05:59:16 +01:00
fish_for_bash_users.rst docs: A bit more on variables 2020-12-24 10:30:59 +01:00
fish_indent_lexer.py Reformat 2020-11-22 14:39:48 +01:00
index.rst Allow ** glob segments to match zero directories 2020-12-28 23:51:18 -08:00
license.rst Add docs theme license 2020-10-04 14:51:05 +02:00
tutorial.rst fixup! docs: use monospace for inline code snippets more consistently 2020-11-29 05:59:16 +01:00