Commit Graph

16 Commits

Author SHA1 Message Date
Ethan P
650845dee4
lib: Fix 'getargs' setting an empty string when no args are left 2021-04-03 17:16:15 -07:00
Ethan P
93e2e4d048
lib: Fix 'getargs --append' adding an empty value to the array 2021-04-02 16:09:10 -07:00
Ethan P
47152d69c3
lib: Add '--append' mode to 'getargs' 2021-04-02 15:43:45 -07:00
Ethan P
9efc5362df
lib: Add 'getargs' to 'lib_opt' 2021-04-02 15:38:26 -07:00
Ethan P
65a2f7561e
lib: Update option parser to better support short options 2020-10-29 01:24:32 -07:00
Ethan P
bb94b33353
lib: Improve tests and docs for opt lib 2020-10-28 20:04:08 -07:00
Ethan P
e4999a7ffb
lib: Add option parsing for short flags followed by number 2020-07-06 18:03:30 -07:00
Ethan P
a3d2df5927
Update all scripts to use constants, add --version support 2020-04-08 03:00:04 -07:00
Éfrit
73aafa56e1 Format with vs-shell-format 2020-04-01 02:55:41 +02:00
Ethan P
9c10ef4871
Refactor common options into opt hooks 2019-09-25 14:48:21 -07:00
Ethan P
6e8959b1d6
Fix $PROGRAM variable not taking the program name 2019-09-25 13:16:29 -07:00
Ethan P
8b5d2384b2
Fix incorrect detection of --key=value arguments 2019-09-08 19:36:54 -07:00
Ethan P
469a6fc65f
Fix regression introduced in 5749d9e 2019-09-08 19:24:10 -07:00
Ethan P
5749d9ea2d
Fix lib/opt.sh not working on Bash 5 (#2) 2019-09-08 11:16:00 -07:00
Ethan P
6f3cc53bda
Fixed libraries 2019-06-21 16:10:39 -07:00
Ethan P
248d7077f4
Initial commit. 2019-06-19 14:15:10 -07:00