Commit graph

16 commits

Author SHA1 Message Date
kilavvy
8aef3c72b4
all: fix typos in documentation files (#23822) 2025-02-28 02:42:55 +03:00
larpon
dad8e3c766
flag: add missing short flag match in flag.to_struct, add test (#22696) 2024-10-30 17:31:31 +02:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
larpon
d27ab09cdf
flag: add a relaxed parsing mode, that turn flag match errors into no_match entries instead (#22191) 2024-09-10 17:04:40 +03:00
larpon
620e064110
flag: fix parsing flag.FlagParser style short flags in to_struct[T] (#22172) 2024-09-07 14:57:15 +03:00
larpon
0d35f0948c
flag: correct bool logic, add test (#22162) 2024-09-04 23:13:50 +03:00
larpon
04a3ecf617
flag: add support for parsing flag.FlagParser style flags in to_struct[T] (#22152) 2024-09-03 16:36:56 +03:00
larpon
21339fe167
flag: fix assigning to @[tail] field when no fields has been matched yet in flag.parse[T]() (#22043) 2024-08-13 20:47:57 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
79ee4ae046
fmt: fix alignment of enumeration types (#21999) 2024-08-07 15:46:50 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Swastik Baranwal
69bc4be512
builtin: add s.trim_space_left/0 and s.trim_space_right/0 methods (#21903) 2024-07-21 22:38:59 +03:00
larpon
60089d61e5
flag: fix rendering bug, make newline logic/code more readable and clean (#21896) 2024-07-20 13:55:30 +03:00
larpon
3bc6d30b69
flag, examples: add compact to flag.DocOptions (#21888) 2024-07-18 09:19:58 +03:00
larpon
e8eda21038
flag: add flag.using[T]()! that uses an existing instance of T (#21865) 2024-07-14 16:53:47 +03:00
larpon
6f61e30062
flag: add flag.to_struct[T]()! and flag.to_doc[T]()! + tests (#21845) 2024-07-13 12:33:03 +03:00