1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

33 Commits

Author SHA1 Message Date
shnorbluk
b940dc4f8a
cli: help displayed when a Command has no execute function (fix #6530) (#6567) 2020-10-07 05:39:13 +02:00
Swastik Baranwal
5f07b255bd
checker: disallow address of array and map index outside unsafe (#6557) 2020-10-05 13:08:30 +02:00
Lukas Neubert
76e373a5f4
v help: fix newline (#6510) 2020-09-30 15:57:22 +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
Lukas Neubert
4096432a1d
cli: prevent need for unsafe block (#5937) 2020-07-22 20:53:49 +03:00
Delyan Angelov
ca8344460a cli: fix failing test on macos/windows 2020-07-18 15:02:05 +03: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
Tim Basel
76176eddab
cli: calculate indent based on name length 2020-06-29 17:59:55 +02:00
Tim Basel
4a1ce3e1f5
cli: add pretty print for multiline descriptions 2020-06-29 14:47:20 +02:00
Tim Basel
d688d356a7
cli: assign parent by default; add disable_flag 2020-05-28 13:32:43 +02:00
yuyi
dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +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
Major Taylor
9edbcb823c
cli: Fix off-by-one error in smart-wrap 2020-04-28 00:10:36 +03:00
yuyi
9f4d498ff1
all: updateimport () and []array 2020-04-26 13:49:31 +02:00
Major Taylor
dc8199709f
cli: add smart-wrap for help description 2020-04-20 14:50:15 +02:00
Major Taylor
7bfc3ef767
cli: fix issue with long cmd and flag names 2020-04-16 23:01:04 +02:00
Enzo Baldisserri
e05f103c41
cli: make compile 2020-04-16 14:50:04 +02:00
Alexander Medvednikov
f087e819d7 cli: minor fixes 2020-04-02 16:04:57 +02:00
Wing-Kam
f1274e34c2
cli: add pre_execute & post_execute 2020-03-10 16:11:17 +01:00
spaceface777
ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Krzysztof Starzyk
3425934c39 flag: remove println from parse_raw 2020-01-07 18:37:01 +01:00
sh0f
3c65af8b9a cli: fix warning 2020-01-02 18:09:24 +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
Alexander Medvednikov
7e4799334f array: make left/right/slice private 2019-11-30 12:37:34 +03:00
Tim Basel
597a6fead2 vlib: cli module 2019-11-21 15:03:12 +03:00