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

34 Commits

Author SHA1 Message Date
Vincenzo Palazzo
17bba712bd
checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
Cameron Katri
340543dfc0
cli: add automatic manpage generation with -man (#13911) 2022-04-03 10:12:47 +03:00
Hunam
74d5106e8f
cli: print cli errors in red where possible (#13647) 2022-03-04 12:28:11 +02:00
div72
8c2f7901aa
cli: have a posix mode to handle -- (#11133) 2021-08-11 12:26:17 +03:00
Uwe Krüger
d26ac5692e
all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
spaceface
b712af56fd
all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
zakuro
95e5f68b64
cli: don't sort flags / commands by default (#8813) 2021-02-21 16:17:50 +02:00
Stanislav Ershov
44cb0426f4
cli: fix checking callbacks (#8858) 2021-02-20 17:30:39 +02:00
Miccah
a153ec5951
cli: ensure that required flags are set (#8826) 2021-02-19 12:43:18 +02:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +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
zakuro
226c918bdd
cli: make execute_help pub (#7938) 2021-01-07 20:33:15 +01:00
zakuro
e19277352b
cli: add Command.setup() (#7850) 2021-01-05 13:25:25 +02:00
zakuro
dd516858d4
fmt: align struct field comments (#7632) 2021-01-03 21:10:25 +01:00
zakuro
805ec8e177
cli: run v fmt (#7440) 2020-12-21 21:23:40 +02:00
Lukas Neubert
dea8662d6b
cli: show help for empty root command (#6636) 2020-10-17 19:06:27 +03:00
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
2464deec82
cli: improvements to help and error messages (#6375) 2020-09-16 22:01:44 +02:00
Lukas Neubert
93e6c3df6a
cli: various improvements (#6180) 2020-08-20 23:14:53 +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
Tim Basel
d688d356a7
cli: assign parent by default; add disable_flag 2020-05-28 13:32:43 +02:00
yuyi
7f4cf08516
parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
Enzo Baldisserri
e05f103c41
cli: make compile 2020-04-16 14:50:04 +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
Alexander Medvednikov
bf1b751f47 cli: update mutability 2019-12-06 19:12:01 +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