Commit graph

5245 commits

Author SHA1 Message Date
Ed Page
871792ee3f
Merge pull request #3609 from epage/index
docs: Don't encourage index
2022-04-04 09:52:51 -05:00
Ed Page
a3b628998d docs: Don't encourage index
Its extra maintenance and more likely to cause annoyances.

Fixes #3608
2022-04-04 08:52:20 -05:00
Ed Page
e91d18ba0e
Merge pull request #3605 from ducaale/synopsis-hidden-flags
Don't include hidden flags in the synopsis section from clap_mangen
2022-04-02 19:59:50 -05:00
ducaale
ddc83bfdc8 test(clap_mangen): Hidden flags in synopsis 2022-04-03 00:28:31 +01:00
ducaale
b3b49855ab fix(clap_mangen): Hide hidden flags in synopsis 2022-04-03 00:11:45 +01:00
Ed Page
5be61a199c docs(examples); Call out optional subcommands 2022-04-01 09:27:29 -05:00
Ed Page
08f74046dc chore: Release 2022-04-01 09:15:32 -05:00
Ed Page
6aa40ad2cb docs: Update changelog 2022-04-01 09:15:18 -05:00
Ed Page
732830a98c
Merge pull request #3598 from dragonrider7225/bring-back-debug-impls
fix: Bring forward Debug impls from v2
2022-04-01 09:14:42 -05:00
Kevin Moonen
17fed36da3 fix: Bring forward Debug impls from v2 2022-03-31 22:45:37 -05:00
Ed Page
c75d2642ef chore: Release 2022-03-31 12:22:40 -05:00
Ed Page
b774370565 docs: Update changelog 2022-03-31 12:22:13 -05:00
Ed Page
71ef8878c5
Merge pull request #3591 from Shir0kamii/fix-ArgEnum-non-unit
Fix ArgEnum non-unit variant
2022-03-31 12:18:19 -05:00
shir0kamii
fb4755d1c3 feat(derive): Don't abort when non-unit variant is skipped 2022-03-31 18:49:21 +02:00
shir0kamii
ee3d12ec56 fix(derive): Abort on non-unit variant 2022-03-30 03:49:14 +02:00
Ed Page
06f855f2ab
Merge pull request #3582 from ducaale/fix-docs
Fix doc comments for Man::section() in `clap_mangen`
2022-03-26 12:57:25 -05:00
ducaale
d55e46f65f docs(mangen): Fix docs for Man::section() 2022-03-26 17:49:34 +00:00
Ed Page
731d18f300 docs(examples): Fix help output 2022-03-25 07:20:46 -05:00
Ed Page
6835dfa978
Merge pull request #3577 from samueltardieu/fix-arg-help-doc
docs: arg! macro uses double quotes for help string
2022-03-25 07:07:05 -05:00
Samuel Tardieu
ef3c2c73d5 docs: arg! macro uses double quotes for help string 2022-03-25 11:00:47 +01:00
Ed Page
edf75cc772
Merge pull request #3571 from epage/fixes
docs: Fix examples
2022-03-23 12:42:05 -05:00
Ed Page
4161b16f2b chore(ci): Run on documentation changes 2022-03-23 12:37:19 -05:00
Ed Page
429e1d3f31 docs: Fix examples
CI didn't run for #3570, so we missed that some things were off on
Windows.
2022-03-23 12:31:13 -05:00
Ed Page
6657d01c37
Merge pull request #3570 from epage/default
docs(examples): Show how to do default subcommands
2022-03-23 12:07:52 -05:00
Ed Page
db863de6c1 docs(examples): Show how to do default subcommands
While we don't have a built-in mechanism, its relatively easy to support
with the APIs we provide.

Inspired by #3566
2022-03-23 11:08:07 -05:00
Ed Page
5176e59794 chore: Release 2022-03-21 07:10:11 -05:00
Ed Page
f3185f4773 docs(fig): Update changelog 2022-03-21 07:09:49 -05:00
Ed Page
230f57b357
Merge pull request #3565 from fedeci/feat/add-subcommand-aliases
feat(clap_complete_fig): Add subcommand aliases support
2022-03-21 07:06:58 -05:00
Federico Ciardi
a404ab8680 feat(clap_complete_fig): Add subcommand aliases support 2022-03-20 21:21:03 +01:00
Ed Page
fb39216caf chore: Release 2022-03-18 08:58:33 -05:00
Ed Page
077793aca4 chore: Release 2022-03-18 08:57:36 -05:00
Ed Page
c029156fbf
Merge pull request #3562 from fedeci/fix/correct-name
fix(clap_complete_fig): Correct `requiresEquals` name and add it to the right objects
2022-03-18 08:57:06 -05:00
Federico Ciardi
5689adc875 fix(clap_complete_fig): Correct requiresEquals name and add it to the right objects 2022-03-18 14:46:20 +01:00
Ed Page
20443fe5a5 chore: Release 2022-03-17 16:20:34 -05:00
Ed Page
3034fdbbdd
Merge pull request #3561 from fedeci/feat/recover-3397
feat(clap_complete_fig): Add `exclusiveOn` and `isRepeatable` and improve indentation
2022-03-17 16:04:14 -05:00
Federico Ciardi
791d43254c fix(clap_complete_fig): Correct indentation and spacing
Co-Authored-By: Grant G <grantgurvis@gmail.com>
2022-03-17 21:50:10 +01:00
Federico Ciardi
abc72a7d0b feat(clap_complete_fig): Add exclusiveOn and isRepeatable 2022-03-17 21:47:18 +01:00
Federico Ciardi
f755198349
feat(clap_complete_fig): support hide and require_equals (#3560) 2022-03-17 20:35:52 +00:00
Ed Page
38469060db
Merge pull request #3555 from epage/parse
docs(examples): More real-world parsing cases
2022-03-14 10:22:40 -05:00
Ed Page
bdd5cf17f8 docs(examples): Show IP Address 2022-03-14 09:53:31 -05:00
Ed Page
4842f07045 docs(examples): Show duration parsing 2022-03-14 09:49:46 -05:00
Ed Page
c230c72120 docs(examples): Allow any path 2022-03-14 09:46:33 -05:00
Ed Page
ce9e2cba8f docs(examples): Show implicit parser 2022-03-14 09:43:17 -05:00
Ed Page
a8ffebbab9 docs(examples): Generalize key-value example 2022-03-14 09:38:04 -05:00
Ed Page
dbe8c0c957 docs(tutorial): Prefer custom parsing to validation 2022-03-14 09:31:40 -05:00
Ed Page
cae9011de3
Merge pull request #3554 from mgrachev/master
chore: fix typo
2022-03-14 09:18:40 -05:00
Grachev Mikhail
02d4d6b137
chore: fix typo 2022-03-14 14:45:42 +03:00
Ed Page
31bd0b55dd
Merge pull request #3551 from tmccombs/grouped-values-doc
Add documentation for grouped_values_of
2022-03-10 08:00:47 -06:00
Thayne McCombs
2b86726879 docs: Document grouped_values_of
Relates to #2924
2022-03-10 00:53:46 -07:00
Ed Page
9e3b661f08
Merge pull request #3544 from epage/trycmd
test: Switch completions/man to snapshot testing
2022-03-07 14:45:21 -06:00