Commit Graph

24 Commits (3baf1741bae60b23d0e5b2c7d2706324e041bec9)

Author SHA1 Message Date
div72 8c2f7901aa
cli: have a posix mode to handle -- (#11133) 2021-08-11 12:26:17 +03:00
Emeric MARTINEAU 125236694f
cli: improve multiple value management (#8310) 2021-03-19 13:09:56 +02:00
AAAA 4213851e22
cli: fix typo (#8742) 2021-02-15 17:25:30 +02:00
Lukas Neubert 8b61891348
fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
Emeric MARTINEAU 081e3c46b4
cli: allow flag to be set multi time (#8256) 2021-01-22 19:03:02 +02:00
Larpon c212b4d180
cli: add missing documentation to all pub functionality (#8226) 2021-01-20 23:15:48 +02:00
Tim Basel d16721e5b8
cli: remove flags.get_*_or variants (#8102) 2021-01-17 05:33:39 +01:00
zakuro 33694665f0
fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
zakuro 805ec8e177
cli: run v fmt (#7440) 2020-12-21 21:23:40 +02:00
Delyan Angelov dab66593fc vlib: run vfmt over vlib files, so that `v doc -m vlib/` can run without warnings 2020-10-21 12:54:10 +03:00
Lukas Neubert 2464deec82
cli: improvements to help and error messages (#6375) 2020-09-16 22:01:44 +02:00
Maciej Obarski 7bd2804ce9
all: automatic error propagation in place of "or { return(err) }" 2020-08-29 01:58:03 +02:00
Lukas Neubert 93e6c3df6a
cli: various improvements (#6180) 2020-08-20 23:14:53 +02:00
Alexander Medvednikov f8be2110ec sort: fix sorting by struct fields 2020-08-12 18:43:41 +02:00
Alexander Medvednikov e5e31f7210 sort: handle `.sort(a.field > b.field)` 2020-08-12 06:11:40 +02:00
Delyan Angelov 3a4f2dfe8b cli: extract improvements to vlib/cli, based on PR 5616 (without cmd/v2) 2020-07-18 14:24:29 +03:00
Tim Basel 703b060d09
cli: add flag/cmd sorting + get_all_found (#5615) 2020-07-02 11:10:03 +02:00
Tim Basel 7386adfc99
cli: help/version abbrev optional + fix various inconsistencies (#5586) 2020-07-01 10:54:34 +02:00
yuyi 7f4cf08516
parser: check `(mut f Foo)` syntax 2020-05-17 13:51:18 +02:00
Tim Basel 473617f061
cli: add option with default 2020-04-30 12:18:46 +02:00
Krzysztof Starzyk 3425934c39 flag: remove println from parse_raw 2020-01-07 18:37:01 +01:00
Alexander Medvednikov bf1b751f47 cli: update mutability 2019-12-06 19:12:01 +03:00
Alexander Medvednikov 1a0b78ae2f fix the cli module 2019-11-30 12:44:50 +03:00
Tim Basel 597a6fead2 vlib: cli module 2019-11-21 15:03:12 +03:00