ConnorSkees
59f3e9414b
allow short aliases on Arg
...
this implements Arg::short_alias, Arg::short_aliases,
Arg::short_visible_alias, and Arg::short_visible_aliases in addition to
adding their associated tests
2020-05-11 11:21:01 -04:00
bors[bot]
c691fedf2d
Merge #1916
...
1916: Minor fix for the README r=CreepySkeleton a=pksunkara
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-05-11 13:13:10 +00:00
Pavan Kumar Sunkara
cc32c03055
Minor fix for the README
2020-05-11 11:15:59 +02:00
bors[bot]
9d03c8497c
Merge #1908
...
1908: add tests for invalid UTF-16 on Windows r=pksunkara a=oconnor663
Co-authored-by: Jack O'Connor <oconnor663@gmail.com>
2020-05-06 05:41:00 +00:00
Jack O'Connor
952309c8d6
add tests for invalid UTF-16 on Windows
...
These are similar to the tests backported to the 2.x branch in
https://github.com/clap-rs/clap/pull/1907 . These are more comprehensive,
because the OsStr splitting methods are more robust now.
2020-05-05 18:18:30 -04:00
bors[bot]
5239d2c371
Merge #1902
...
1902: Some modifications to allow cargo verification to work r=CreepySkeleton a=pksunkara
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-05-03 20:53:26 +00:00
Pavan Kumar Sunkara
b562ce4d63
Some modifications to allow cargo verification to work
2020-05-03 11:48:01 +02:00
bors[bot]
8f98a329da
Merge #1715
...
1715: Update README for beta release r=kbknapp a=pksunkara
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-05-03 07:09:49 +00:00
bors[bot]
2ba7816c9e
Merge #1894
...
1894: Eradicate warnings r=pksunkara a=CreepySkeleton
Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-05-03 06:50:57 +00:00
CreepySkeleton
56fdfb9edd
Eradicate warnings and errors: tests and examples
2020-05-02 23:33:47 +03:00
CreepySkeleton
f803616011
Deny warnings in CI
2020-05-02 23:33:47 +03:00
CreepySkeleton
2eebd76a04
Eradicate warnings: main codebase
2020-05-02 23:33:43 +03:00
Pavan Kumar Sunkara
954dd3e20a
Test readme too
2020-05-02 22:27:45 +02:00
Pavan Kumar Sunkara
a67d1d7a40
Update README for beta release
2020-05-02 22:27:42 +02:00
bors[bot]
306dc83036
Merge #1895
...
1895: docs(README.md): fix a broken link to CONTRIBUTING.md r=CreepySkeleton a=noritada
Co-authored-by: Noritada Kobayashi <noritada.kobayashi@gmail.com>
2020-05-02 19:39:10 +00:00
Noritada Kobayashi
6d62cca1ac
docs(README.md): fix a broken link to CONTRIBUTING.md
2020-05-03 03:56:35 +09:00
bors[bot]
19e3e97544
Merge #1893
...
1893: Handle more edge cases for an `ArgStr` prefix r=kbknapp a=dylni
Co-authored-by: dylni <46035563+dylni@users.noreply.github.com>
2020-05-02 02:14:14 +00:00
dylni
99096ecbe9
Handle more edge cases for an ArgStr
prefix
2020-05-01 18:19:40 -04:00
bors[bot]
a104359908
Merge #1892
...
1892: Fix link to 13_enum_values example r=kbknapp a=dbxnr
Co-authored-by: dbxnr <dbxnr@users.noreply.github.com>
2020-05-01 21:06:56 +00:00
dbxnr
8769dfa972
Fix link to 13_enum_values example
2020-05-01 21:32:43 +01:00
bors[bot]
99e862945e
Merge #1883
...
1883: External subcommand r=pksunkara a=CreepySkeleton
Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-05-01 17:59:32 +00:00
CreepySkeleton
a21372e9ed
Fix ui tests
2020-05-01 20:09:55 +03:00
bors[bot]
93dd22c2f9
Merge #1890
...
1890: fix(build/app): don't use long help for `print_help() r=kbknapp a=cole-h
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2020-05-01 15:57:11 +00:00
Cole Helbling
2bc057eaa5
fix(build/app): don't use long help for print_help()
...
For long help, there's still `print_long_help()`.
2020-05-01 08:01:26 -07:00
bors[bot]
65ee7f6df1
Merge #1888
...
1888: Moved the meta stuff to wiki r=kbknapp a=pksunkara
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-05-01 13:21:16 +00:00
CreepySkeleton
6bdb6d9b2e
Marry AllowExternalSubcommands with SubcommandRequiredElse*
2020-05-01 15:33:36 +03:00
bors[bot]
70287eae82
Merge #1884
...
1884: Make validator take &str instead of String r=pksunkara a=CreepySkeleton
Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-05-01 11:48:50 +00:00
CreepySkeleton
ec6b6e1e36
Make validator take &str instead of String
2020-05-01 14:21:11 +03:00
Pavan Kumar Sunkara
5ca217e8e8
Moved the meta stuff to wiki
2020-05-01 10:52:04 +02:00
CreepySkeleton
ee463ba834
Make extrernal_subcommand
ALMOST work
2020-04-30 20:20:21 +03:00
CreepySkeleton
3b418fe1a1
Cleaning
2020-04-30 15:11:39 +03:00
bors[bot]
087fab2ab3
Merge #1882
...
1882: Make `struct SubCommand` private r=pksunkara a=CreepySkeleton
Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-29 19:20:42 +00:00
CreepySkeleton
7a7148d087
Make struct SubCommand
private
2020-04-29 21:34:59 +03:00
bors[bot]
5b9dbee5db
Merge #1876
...
1876: Allow usage of deprecated arg::help in yaml r=CreepySkeleton a=pksunkara
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-28 11:39:05 +00:00
bors[bot]
0bf70776de
Merge #1874
...
1874: Rename some internal stuff r=CreepySkeleton a=pksunkara
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-28 10:44:22 +00:00
Pavan Kumar Sunkara
20d6b01818
Allow usage of deprecated arg::help in yaml
2020-04-28 12:37:52 +02:00
bors[bot]
0d82c127ce
Merge #1875
...
1875: Implemented arg_enum for option and vec r=CreepySkeleton a=pksunkara
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-28 10:18:46 +00:00
Pavan Kumar Sunkara
68ce9dd6ec
Rename trybuild file to ui
2020-04-28 11:39:30 +02:00
Pavan Kumar Sunkara
7616a5fa2e
Implemented arg_enum for option and vec
2020-04-28 11:35:47 +02:00
Pavan Kumar Sunkara
348744ab04
Rename some internal stuff
2020-04-28 11:13:09 +02:00
bors[bot]
638880271a
Merge #1873
...
1873: Bugfix r=pksunkara a=CreepySkeleton
Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-27 19:18:36 +00:00
CreepySkeleton
4812cf2101
Make sure output is always flushed before exiting
2020-04-27 21:47:33 +03:00
CreepySkeleton
c6fdd3a7ce
Reshape imports
2020-04-27 21:47:08 +03:00
bors[bot]
25d48ba3c3
Merge #1872
...
1872: Bump os_str_bytes in order to support wasi r=pksunkara a=CreepySkeleton
Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-27 18:21:07 +00:00
CreepySkeleton
20dab85143
Bump os_str_bytes in order to support wasi
2020-04-27 20:36:14 +03:00
bors[bot]
4675070a0b
Merge #1840
...
1840: Deprecate Arg::help in favour of Arg::about [WIP] r=pksunkara a=creativcoder
Co-authored-by: creativcoder <creativcoders@gmail.com>
Co-authored-by: creativcoder <5155745+creativcoder@users.noreply.github.com>
2020-04-27 16:32:10 +00:00
creativcoder
d0abb378b0
cargo fmt
2020-04-27 20:41:41 +05:30
creativcoder
970c1fa21a
Fix yaml tests
2020-04-27 20:19:26 +05:30
creativcoder
35fdb45adb
Update bench tests with about and add inline to about methods
2020-04-27 20:00:36 +05:30
creativcoder
266dbbe3f4
Code review p2
2020-04-27 19:37:17 +05:30