Commit graph

7618 commits

Author SHA1 Message Date
Ed Page
777e4dc41b docs(derive): Clarify name is package name, not crate name
Fixes #4934
2023-05-23 08:38:02 -05:00
nibon7
865a1c531f
chore: release 0.1.11 2023-05-23 13:22:59 +08:00
nibon7
7e6eb7d280
chore: prepare for upstreaming 2023-05-23 13:21:43 +08:00
nibon7
6e586e0923
test: add test cases for completions 2023-05-23 13:09:11 +08:00
Ed Page
944556ed20 chore: Update owners 2023-05-19 20:00:10 -05:00
Ed Page
3f5a420cce chore: Add rust-cli as owners 2023-05-19 19:58:52 -05:00
Ed Page
4d44cd7ca5 chore: Update precommit hooks 2023-05-19 13:12:26 -05:00
Ed Page
663a35e643 chore: Release 2023-05-19 11:57:00 -05:00
Ed Page
9c3dc187cb chore: Release 2023-05-19 11:55:42 -05:00
Ed Page
077cf66fdc docs: Update changelog 2023-05-19 11:54:41 -05:00
Ed Page
5047bb40bd chore: Release 2023-05-19 11:48:29 -05:00
Ed Page
22d3307727 docs: Update changelog 2023-05-19 11:48:21 -05:00
Ed Page
fd63feb703
Merge pull request #4926 from epage/unsafe
fix(lex)!: Remove unsafe safe method
2023-05-19 12:03:06 -05:00
Ed Page
3db3524943 fix(lex)!: Remove unsafe safe method 2023-05-19 11:29:50 -05:00
Ed Page
8507a1dba3
Merge pull request #4925 from epage/term
test(parser): Verify value terminator precedence
2023-05-19 11:24:43 -05:00
Ed Page
a360fd8ac0 test(parser): Verify value terminator precedence 2023-05-19 11:04:48 -05:00
Ed Page
d5bea65711
Merge pull request #4924 from epage/term2
fix(parser): Allow multiple value terminated positionals
2023-05-19 11:02:18 -05:00
Ed Page
e1db168d69 fix(parser): Ensure terminated positionals are assigned correctly 2023-05-19 10:41:44 -05:00
Ed Page
1ee2e95e96 fix(builder): Allow value terminated multiple positional values 2023-05-19 10:39:05 -05:00
Ed Page
130b2ff997 test(parser): Show multiple positional multiple values behavior 2023-05-19 10:36:43 -05:00
Ed Page
65d44aa7b1
Merge pull request #4902 from epage/sub
fix(help): Don't use next-line-help on long-help for subcommands
2023-05-19 10:08:43 -05:00
Ed Page
d597cf7bd6
Merge pull request #4923 from epage/update
chore: Update from '_rust/main' template
2023-05-19 09:25:14 -05:00
Ed Page
21d911db10 style: Make clippy happy 2023-05-19 09:10:20 -05:00
Ed Page
8edf8c7676
Merge pull request #4922 from epage/docs
docs(builder): Remove stale docs references (set is default)
2023-05-19 09:02:18 -05:00
Ed Page
13f9836ebe chore(ci): Clarify why map_or is banned 2023-05-19 08:55:22 -05:00
Ed Page
2b6bb28cd1 chore(ci): Catch clippy config failures 2023-05-18 14:58:59 -05:00
Ed Page
80d4cdd688 chore: Remove clippy lint past MSRV (needs 1.67) 2023-05-18 14:57:02 -05:00
Ed Page
ac5d893091 docs(builder): Remove stale docs references (set is default) 2023-05-18 13:11:14 -05:00
Ed Page
5c7bcff7b5
Merge pull request #4913 from Nemo157/disable-help-subcommand-recursion
Add note about Command::disable_help_subcommand applying to children
2023-05-18 08:52:04 -05:00
Wim Looman
c41f4beaaa
fix(docs): Add note about Command::disable_help_subcommand applying to children 2023-05-18 14:11:22 +02:00
Ed Page
1d42caa0b6
Merge pull request #4912 from epage/assert
fix(assert): Clarify last assertion
2023-05-17 17:10:08 -05:00
Ed Page
67cc5ea3a2 fix(assert): Clarify last assertion
An incremental improvement for #4911.
2023-05-17 16:33:36 -05:00
Ed Page
011a2e7258
Merge pull request #4907 from cakebaker/cakebaker-fix_typo
Fix typo in value_parser.rs
2023-05-15 16:35:38 -05:00
Daniel Hofstetter
3458adc6ae fix: Typo in value_parser.rs 2023-05-15 15:35:25 +02:00
Ed Page
3fa7b8fe51
Merge pull request #4903 from CosmicHorrorDev/doc-generate-all-completions
doc(complete): Add an example generating all shell completions
2023-05-13 13:36:44 -05:00
Cosmic Horror
863dd90ca4 docs(complete): Demo generating all completions 2023-05-13 11:25:55 -06:00
Ed Page
c3fe7ff0a9 fix(help): Don't use next-line-help on long-help for subcommands
Subcommands don't switch their behavior on `--help`, so let's not switch
to next-line-help based on `--help`.

Fixes #4897
2023-05-12 10:41:05 +02:00
Ed Page
36f79289ca chore: Release 2023-05-12 10:23:52 +02:00
Ed Page
9d0e4512fa docs: Update changelog 2023-05-12 10:23:40 +02:00
Ed Page
2fd3e4cbf9
Merge pull request #4899 from clubby789/zsh-subcommand-catchall
fix: (complete, zsh) Don't emit catchall when we have subcommands
2023-05-12 03:22:18 -05:00
clubby789
b1b2231db2 fix: Don't emit catchall when we have subcommands 2023-05-10 19:44:02 +01:00
Ed Page
2d4644a870 chore: Release 2023-05-09 21:44:11 +02:00
Ed Page
ea38450643 docs: Update changelog 2023-05-09 21:43:28 +02:00
Ed Page
fca1e0382b
Merge pull request #4896 from clubby789/bash-hint-other
completion: Respect `ValueHint::Other` in Bash
2023-05-09 14:44:01 -05:00
clubby789
2f97216156 fix: Respect ValueHint::Other in bash 2023-05-09 20:11:48 +01:00
Ed Page
0174326fa6
Merge pull request #4890 from nyurik/format-args4
chore: Inline simple non-mixed format args
2023-05-04 15:14:00 -05:00
Yuri Astrakhan
d0302c5556 chore: Inline simple non-mixed format args 2023-05-04 15:58:04 -04:00
Ed Page
173f1ede0a
Merge pull request #4881 from nyurik/dedup-derive
chore: Dedup clap derive get fields
2023-05-04 08:27:29 -05:00
Yuri Astrakhan
003b45325a chore: Dedup clap derive get fields 2023-05-03 23:09:30 -04:00
Ed Page
ba9cad6ca2
Merge pull request #4885 from epage/possible
refactor(help): Clean up long possible value handling
2023-05-03 21:17:45 -05:00