This website requires JavaScript.
2a9cdd82fa
Remove RPM spec stuff from README and Makefile, simplify install instructions
master
Andrew Kesterson
2026-01-19 17:49:16 -05:00
7342a05822
Make cmdarg_dump print out cmdarg_argv as well
feature/cmdarg_dump_argv
Andrew Kesterson
2026-01-19 15:55:44 -05:00
cd9594264a
Merge remote-tracking branch 'zaneduffield/master'
refi64-fix_ret
neechbear-master
Andrew Kesterson
2026-01-18 12:26:25 -05:00
994b076174
Simply copyright and author header components when empty
zaneduffield-PR29
Zane Duffield
2026-01-14 12:27:32 +11:00
7aedd40945
Add .shellcheckrc to silence lints
Zane Duffield
2026-01-14 11:41:05 +11:00
4bff72f4d2
Fix misc shellcheck issues
Zane Duffield
2026-01-14 11:40:26 +11:00
5988b10d16
Fix array expansion errors on unknown parameter names
Zane Duffield
2026-01-14 11:20:55 +11:00
a75144bf94
Quote array expansion when appending to cmdarg_argv
Zane Duffield
2026-01-14 11:16:54 +11:00
35b6965e5d
Quote variables to avoid word splitting a glob matching
Zane Duffield
2026-01-14 11:15:44 +11:00
489d6d1ee8
Convert tabs to spaces
Zane Duffield
2026-01-14 11:13:36 +11:00
b5bc40cf67
Add shellcheck action to CI
Andrew Kesterson
2026-01-18 12:15:11 -05:00
0c8137e474
Fix dependency installation for github CI
Andrew Kesterson
2026-01-18 12:02:05 -05:00
fcd2b454de
Test breaking a test
break_tests
Andrew Kesterson
2026-01-18 11:45:26 -05:00
0f8aaef08b
Fix dependency installation for github CI (again)
Andrew Kesterson
2026-01-18 12:07:31 -05:00
b69e961687
Fix dependency installation for github CI (again)
Andrew Kesterson
2026-01-18 12:04:40 -05:00
0faa8b6eb3
Fix dependency installation for github CI
Andrew Kesterson
2026-01-18 12:02:05 -05:00
f5acdfe6b5
Fail build on failed tests
Andrew Kesterson
2026-01-18 11:50:17 -05:00
725ed205c4
Adding junit testing and reporting
Andrew Kesterson
2026-01-18 10:39:10 -05:00
94f11c6f01
Simply copyright and author header components when empty
Zane Duffield
2026-01-14 12:27:32 +11:00
66563ad58a
Add .shellcheckrc to silence lints
Zane Duffield
2026-01-14 11:41:05 +11:00
9772c9378d
Fix misc shellcheck issues
Zane Duffield
2026-01-14 11:40:26 +11:00
f649a18a75
Fix array expansion errors on unknown parameter names
Zane Duffield
2026-01-14 11:20:55 +11:00
1e31ed1998
Quote array expansion when appending to cmdarg_argv
Zane Duffield
2026-01-14 11:16:54 +11:00
ad35f698ea
Quote variables to avoid word splitting a glob matching
Zane Duffield
2026-01-14 11:15:44 +11:00
8862ba1999
Convert tabs to spaces
Zane Duffield
2026-01-14 11:13:36 +11:00
cdc010720f
Merge pull request #21 from gundalow/patch-1
Andrew Kesterson
2016-09-05 14:37:51 -07:00
9bc2991ff6
Improved validate_int
John Barker
2015-09-18 16:36:01 +01:00
977badef4b
cmdarg_info had no test coverage, plz2fix
Andrew Kesterson
2014-08-12 07:56:19 -07:00
2f65202f34
Merge pull request #19 from johnae/master
Andrew Kesterson
2014-08-12 07:55:54 -07:00
5c2fbc5110
cmdarg_info so it checks for anything NOT in flags
John Axel Eriksson
2014-08-12 14:48:08 +02:00
aede1cefbe
Fixed some broken longopt and helpers related tests
Andrew Kesterson
2014-06-07 22:39:58 -07:00
77bf69ee69
Fixes #6 : Proper array bounds checking
Andrew Kesterson
2014-06-07 21:38:03 -07:00
c7c2e31b83
Close #9 : Ensured all local vars are declared local. Also removed builtin cmdarg_cfg['cfgfile'] loading as it was undocumented and even I forgot it was there.
Andrew Kesterson
2014-05-26 12:26:18 -07:00
7188ec557f
Close #5 : Removed all calls to cut/grep
Andrew Kesterson
2014-05-26 12:19:00 -07:00
d3721faf10
Close #17 and Close #16
Andrew Kesterson
2014-05-26 11:45:17 -07:00
5c926c54e2
Update UPGRADING.md
Andrew Kesterson
2014-05-20 09:24:31 -07:00
83cfe31f77
Added UPGRADING.md for 2.0 breaking changes
Andrew Kesterson
2014-05-20 09:03:44 -07:00
b7f85914e7
Close #13 : cmdarg_helpers[] introduced, README documentation updated
Andrew Kesterson
2014-05-20 08:49:46 -07:00
83c4552371
Made validators less silly (require strict functions) and updated docs
Andrew Kesterson
2014-05-19 17:15:54 -07:00
15ed92d390
Close #11 : This does, indeed, fix the big janky naming bug
Andrew Kesterson
2014-05-19 16:30:07 -07:00
a5b412f29b
Clarify #14 : boolean processing places optarg into cmdarg_argv, we can debate that later
Andrew Kesterson
2014-05-12 08:06:10 -07:00
1ba6694330
Close #7 : use BASH_VERSINFO instead of janky version check
Andrew Kesterson
2014-05-12 07:19:45 -07:00
f72240fd19
Closes #12 : all calls to cmdarg_usage go to stderr
Andrew Kesterson
2014-05-12 07:15:59 -07:00
1efe7758cb
Update README.md
Andrew Kesterson
2014-05-03 13:17:05 -07:00
965d6ed8ea
Update README.md
Andrew Kesterson
2014-05-03 13:16:39 -07:00
0b0ac881bd
Update README.md
Andrew Kesterson
2014-05-03 11:02:32 -07:00
3db0f39891
Update README.md
Andrew Kesterson
2014-05-03 10:53:38 -07:00
e22fc91242
Update Makefile
Andrew Kesterson
2014-04-21 21:39:19 -07:00
e1c49e0044
Update Makefile
Andrew Kesterson
2014-04-21 21:35:20 -07:00
c04f8af3af
Update Makefile
Andrew Kesterson
2014-04-21 21:32:43 -07:00
b11c675564
Update Makefile
Andrew Kesterson
2014-04-21 21:28:50 -07:00
1dacc31929
Update Makefile
Andrew Kesterson
2014-04-21 21:26:49 -07:00
fbbde4005a
Update Makefile
Andrew Kesterson
2014-04-21 21:26:01 -07:00
59eb3b9f81
Update Makefile
Andrew Kesterson
2014-04-21 21:23:12 -07:00
660be47473
Update README.md
Andrew Kesterson
2014-04-21 21:11:12 -07:00
07f2cb09bb
Update README.md
Andrew Kesterson
2014-04-21 20:33:29 -07:00
071f170b67
Fixes #4 : Make cmdarg understand '--option=value|-o=value' syntax.
Andrew Kesterson
2014-04-19 21:41:57 -07:00
77e92fbfb5
Fixes #4 : Make cmdarg understand '--option=value|-o=value' syntax.
Andrew Kesterson
2014-04-19 21:39:23 -07:00
950d630c4d
Update README.md
Andrew Kesterson
2014-04-09 13:12:01 -07:00
3b7f95e33e
#3 : Fix handling of optional vs required arguments
Andrew Kesterson
2014-01-30 16:34:49 -05:00
d7e111c6d6
Fixes #1 : Long arguments now display in cmdarg_usage()
Andrew Kesterson
2014-01-27 11:22:14 -05:00
9b5e247cda
Create LICENSE.txt
Andrew Kesterson
2014-01-23 06:44:38 -05:00
fa34368592
Fixed a bug where cmdarg_argv is not populated without --
Andrew Kesterson
2014-01-09 10:34:47 -05:00
77698f430c
Added long opt parsing, now understands -- and parses non-option elements into cmdarg_argv. Docs updated.
Andrew Kesterson
2013-11-13 11:14:09 -08:00
f95d181b6d
Remove the c-style "have I been included before" check, because it actually was making things worse
Andrew Kesterson
2013-11-06 15:21:40 -05:00
16548e463b
Added test to cover the case when cmdarg_purge erases or otherwise makes the cmdarg_cfg internals unusable, also changed the purge method to something much simpler
Andrew Kesterson
2013-11-01 14:16:59 -04:00
f9e71bffe3
Seriously...
Andrew Kesterson
2013-10-29 19:43:35 -04:00
c499425869
Fixed the exporting of cmdarg_ and CMDARG_ variables for subshells (for real this time)
Andrew Kesterson
2013-10-29 19:29:59 -04:00
08bc5c4c62
Syntax fix to previous fix (the people who sacked the previous people, have been sacked)
Andrew Kesterson
2013-10-29 19:11:01 -04:00
5facea1cc5
Fixed a bug where the #include fakery caused chained scripts that wanted to call cmdarg were unable to do so and were unable to see CMDARG_ associative arrays, so wierd things started happening
Andrew Kesterson
2013-10-29 19:10:08 -04:00
51b3114748
Fixed a bogus bash version check that caused cmdarg to refuse to run on systems with nonstandard bash
Andrew Kesterson
2013-10-16 00:43:20 -04:00
d9cc8d6ed2
Fixed makefile
Andrew Kesterson
2013-10-15 02:28:14 -04:00
e610d8732c
Fixes to Makefile
Andrew Kesterson
2013-10-15 02:23:35 -04:00
77d48c3425
Fixed PREFIX in Makefile, added several tests in tests/
Andrew Kesterson
2013-10-09 22:42:16 -04:00
034e79e9bf
Fixed the stupid cmdarg_* prefixing of hash and array arguments, just use the key
Andrew Kesterson
2013-10-09 13:38:06 -04:00
308e38279f
Added a few new functions for dumping config state, also added new facilities for specifying that certain config options should be an array or a hash
Andrew Kesterson
2013-10-09 13:27:05 -04:00
1486f32e73
Fixed cygwin install path
Andrew Kesterson
2013-10-08 14:22:38 -04:00
299377270e
Closes #2 : Add -o to fix a broken grep on the bash version in cygwin
Andrew Kesterson
2013-10-08 14:16:38 -04:00
baf7232c79
Added makefile and spec for rpm builds
Andrew Kesterson
2013-09-24 11:42:10 -04:00
cc6ba88784
Fixed a bug in how true/false flags are handled
Andrew Kesterson
2013-07-10 13:44:46 -04:00
a049ad7921
cmdarg_traceback prints LASTERR now
Andrew Kesterson
2013-07-09 09:20:33 -04:00
e10acfbd05
Added traceback function from http://blog.yjl.im/2012/01/printing-out-call-stack-in-bash.html
Andrew Kesterson
2013-07-09 06:59:42 -04:00
c3fe169bdd
Initial commit, everything appears to work
Andrew Kesterson
2013-07-02 10:10:09 -04:00
4f9cbf540b
Initial commit, everything appears to work
Andrew Kesterson
2013-07-02 10:05:16 -04:00
c5ba5d61bc
Initial commit, everything appears to work
Andrew Kesterson
2013-07-02 10:04:48 -04:00
6d247993f4
Initial commit, everything appears to work
Andrew Kesterson
2013-07-02 10:02:51 -04:00