trollop:mainline.git
13 years agominor README.txt tweaks
William Morgan [Sun, 27 Sep 2009 17:49:08 +0000 (13:49 -0400)]
minor README.txt tweaks

13 years agodon't raise when out of short options
William Morgan [Sun, 27 Sep 2009 17:39:51 +0000 (13:39 -0400)]
don't raise when out of short options

13 years agobump to 1.14
William Morgan [Fri, 19 Jun 2009 14:35:03 +0000 (10:35 -0400)]
bump to 1.14

13 years agoupdate changelog for 1.14
William Morgan [Fri, 19 Jun 2009 14:34:40 +0000 (10:34 -0400)]
update changelog for 1.14

13 years agomake :multi arguments default to [], not nil
William Morgan [Fri, 19 Jun 2009 14:32:18 +0000 (10:32 -0400)]
make :multi arguments default to [], not nil

13 years agoimprove a few comments and error output
William Morgan [Fri, 19 Jun 2009 14:28:29 +0000 (10:28 -0400)]
improve a few comments and error output

14 years agoupdate webpage and FAQ
William Morgan [Wed, 3 Jun 2009 13:33:40 +0000 (09:33 -0400)]
update webpage and FAQ

14 years agoAdded :date option type.
Erik Ostrom [Thu, 11 Dec 2008 07:14:14 +0000 (23:14 -0800)]
Added :date option type.

Parses dates with Date.parse, or Chronic if it's available.

14 years agounshadow a variable
William Morgan [Mon, 23 Mar 2009 13:58:15 +0000 (09:58 -0400)]
unshadow a variable

Apparently this generates a warning in Ruby 1.9.1. No change in behavior
though.

Thanks to Tuomas Kareinen <kareinen@iki.fi>

14 years agobump to 1.13 release-1.13
William Morgan [Mon, 16 Mar 2009 17:53:23 +0000 (13:53 -0400)]
bump to 1.13

14 years agofix parsing of arg=<value with spaces>
William Morgan [Thu, 26 Feb 2009 21:50:47 +0000 (16:50 -0500)]
fix parsing of arg=<value with spaces>

Thanks to rogerpack2005 for pointing this out.

14 years agominor README tweaks
William Morgan [Fri, 30 Jan 2009 14:50:09 +0000 (06:50 -0800)]
minor README tweaks

14 years agobump to 1.12 release-1.12
William Morgan [Fri, 30 Jan 2009 14:45:15 +0000 (06:45 -0800)]
bump to 1.12

14 years agomove internal methods to bottom & mark private
William Morgan [Fri, 30 Jan 2009 14:41:44 +0000 (06:41 -0800)]
move internal methods to bottom & mark private

14 years agoresolve default shorts AFTER user shorts
William Morgan [Fri, 30 Jan 2009 14:36:19 +0000 (06:36 -0800)]
resolve default shorts AFTER user shorts

14 years agoadd some unit tests for given keys
William Morgan [Fri, 30 Jan 2009 13:50:48 +0000 (05:50 -0800)]
add some unit tests for given keys

14 years agoupdate unit tests to work with _given keys
William Morgan [Fri, 30 Jan 2009 13:47:30 +0000 (05:47 -0800)]
update unit tests to work with _given keys

14 years agobump to 1.11 release-1.11
William Morgan [Fri, 30 Jan 2009 03:01:35 +0000 (19:01 -0800)]
bump to 1.11

14 years agoset "<opt>_given" for each opt on the commandline
William Morgan [Fri, 30 Jan 2009 02:34:40 +0000 (18:34 -0800)]
set "<opt>_given" for each opt on the commandline

For every option <opt> given on the commanline, in the output hash of
Parser#parse (and thus Trollop.options), in addition to setting
<opt> to the value given, set <opt>_given to true. This is useful if you need
to know which arguments were actually specified on the commandline, e.g. for
situations where arguments can override other arguments when given.

14 years agoadd blog link to index.html
William Morgan [Thu, 23 Oct 2008 19:23:08 +0000 (12:23 -0700)]
add blog link to index.html

14 years agoadd links to README
William Morgan [Thu, 23 Oct 2008 18:48:17 +0000 (11:48 -0700)]
add links to README

14 years agofuck you rdoc, and fuck you rake
William Morgan [Thu, 23 Oct 2008 18:24:02 +0000 (11:24 -0700)]
fuck you rdoc, and fuck you rake

14 years agobump to 1.10.2 release-1.10.2
William Morgan [Thu, 23 Oct 2008 16:12:56 +0000 (09:12 -0700)]
bump to 1.10.2

14 years agoRevert "try and run 'stty size' to determine screen width"
William Morgan [Thu, 23 Oct 2008 16:10:11 +0000 (09:10 -0700)]
Revert "try and run 'stty size' to determine screen width"

This reverts commit 8dfa0de45bfcffc10eedf291b4c14426e3cb83d4.

14 years agoprettify default in help screen for arrays and IOs release-1.10.1
William Morgan [Thu, 23 Oct 2008 06:06:47 +0000 (23:06 -0700)]
prettify default in help screen for arrays and IOs

14 years agobugfix for :multi arguments and array defaults
William Morgan [Thu, 23 Oct 2008 06:06:26 +0000 (23:06 -0700)]
bugfix for :multi arguments and array defaults

14 years agobah, minor Rakefile bugfix
William Morgan [Thu, 23 Oct 2008 05:40:34 +0000 (22:40 -0700)]
bah, minor Rakefile bugfix

14 years agoupdate release script
William Morgan [Thu, 23 Oct 2008 05:36:30 +0000 (22:36 -0700)]
update release script

14 years agobump to 1.10.1
William Morgan [Thu, 23 Oct 2008 05:35:31 +0000 (22:35 -0700)]
bump to 1.10.1

14 years agovarious rakefile tweaks
William Morgan [Thu, 23 Oct 2008 05:35:05 +0000 (22:35 -0700)]
various rakefile tweaks

14 years agofix up ambiguous multi-value vs multi-occurrence with default case
William Morgan [Thu, 23 Oct 2008 05:10:26 +0000 (22:10 -0700)]
fix up ambiguous multi-value vs multi-occurrence with default case

14 years agomore documentation improvements
William Morgan [Thu, 23 Oct 2008 03:08:33 +0000 (20:08 -0700)]
more documentation improvements

14 years agowebpage source code bugfix
William Morgan [Thu, 23 Oct 2008 03:07:45 +0000 (20:07 -0700)]
webpage source code bugfix

14 years agofix up rdoc documentation generation
William Morgan [Thu, 23 Oct 2008 03:07:28 +0000 (20:07 -0700)]
fix up rdoc documentation generation

14 years agocomment out bad unit test that requires network access (will mock later)
William Morgan [Thu, 23 Oct 2008 02:14:39 +0000 (19:14 -0700)]
comment out bad unit test that requires network access (will mock later)

14 years agooptions return value now accepts method calls as well as hash keys (like OpenStruct)
William Morgan [Thu, 23 Oct 2008 01:53:15 +0000 (18:53 -0700)]
options return value now accepts method calls as well as hash keys (like OpenStruct)

14 years agowhoops; :io objects not generating right in help output release-1.10
William Morgan [Wed, 22 Oct 2008 01:43:32 +0000 (18:43 -0700)]
whoops; :io objects not generating right in help output

14 years agobump version to 1.10
William Morgan [Tue, 21 Oct 2008 23:55:20 +0000 (16:55 -0700)]
bump version to 1.10

14 years agoadd :io type for readonly files, urls, and stdin
William Morgan [Wed, 22 Oct 2008 00:26:28 +0000 (17:26 -0700)]
add :io type for readonly files, urls, and stdin

14 years agoupdate rdoc documentation
William Morgan [Tue, 21 Oct 2008 23:54:18 +0000 (16:54 -0700)]
update rdoc documentation

14 years agotry and run 'stty size' to determine screen width
William Morgan [Tue, 21 Oct 2008 23:22:29 +0000 (16:22 -0700)]
try and run 'stty size' to determine screen width

14 years agolots of documentation updates in index.html
William Morgan [Tue, 21 Oct 2008 23:13:36 +0000 (16:13 -0700)]
lots of documentation updates in index.html

14 years agoremove documentation from README.txt
William Morgan [Tue, 21 Oct 2008 22:15:33 +0000 (15:15 -0700)]
remove documentation from README.txt

14 years agoremove outdated FAQ entry
William Morgan [Tue, 21 Oct 2008 22:13:40 +0000 (15:13 -0700)]
remove outdated FAQ entry

14 years agobump to 1.9 release-1.9
William Morgan [Wed, 20 Aug 2008 16:34:04 +0000 (09:34 -0700)]
bump to 1.9

14 years agoupdate gem description to match README.txt
William Morgan [Wed, 20 Aug 2008 16:28:05 +0000 (09:28 -0700)]
update gem description to match README.txt

14 years agoadd release script
William Morgan [Wed, 20 Aug 2008 16:27:43 +0000 (09:27 -0700)]
add release script

14 years agoadd support for multiple options and multiple parameters
Tuomas Kareinen [Wed, 30 Jul 2008 22:15:19 +0000 (01:15 +0300)]
add support for multiple options and multiple parameters

Additional features:
  - an option can be given multiple times
  - an option supports multiple parameters

14 years agotest for alternate args source
Ohad Lutzky [Sun, 3 Aug 2008 23:54:09 +0000 (02:54 +0300)]
test for alternate args source

14 years agoallow different source of args for options (rather than ARGV)
Ohad Lutzky [Sun, 3 Aug 2008 21:53:25 +0000 (00:53 +0300)]
allow different source of args for options (rather than ARGV)

14 years agorepair stop_on_unknown, add units tests
Ohad Lutzky [Sun, 3 Aug 2008 21:47:58 +0000 (00:47 +0300)]
repair stop_on_unknown, add units tests

14 years agoMerge commit 'lutzky/master'
William Morgan [Sun, 3 Aug 2008 16:30:06 +0000 (09:30 -0700)]
Merge commit 'lutzky/master'

14 years agoadd a pointer to lib/trollop.rb directly from the webpage
William Morgan [Thu, 31 Jul 2008 17:28:10 +0000 (10:28 -0700)]
add a pointer to lib/trollop.rb directly from the webpage

14 years agoadd a nasty list of reasons to use trollop to the webpage
William Morgan [Thu, 31 Jul 2008 16:52:29 +0000 (09:52 -0700)]
add a nasty list of reasons to use trollop to the webpage

14 years agoimplement stop_on_unknown
Ohad Lutzky [Thu, 31 Jul 2008 07:02:40 +0000 (10:02 +0300)]
implement stop_on_unknown

Imported from ditz

14 years agocolorize html
William Morgan [Wed, 30 Jul 2008 21:26:19 +0000 (14:26 -0700)]
colorize html

14 years agopoint webpage to the new git repo
William Morgan [Wed, 30 Jul 2008 21:17:24 +0000 (14:17 -0700)]
point webpage to the new git repo

14 years agobump to 1.8.2
William Morgan [Wed, 25 Jun 2008 21:43:43 +0000 (21:43 +0000)]
bump to 1.8.2

14 years agoanother bugfix: conflicts and depends error messages were broken
William Morgan [Wed, 25 Jun 2008 21:42:48 +0000 (21:42 +0000)]
another bugfix: conflicts and depends error messages were broken

14 years agoscp -> rsync
William Morgan [Tue, 24 Jun 2008 23:09:20 +0000 (23:09 +0000)]
scp -> rsync

14 years agobump version to 1.8.1
William Morgan [Tue, 24 Jun 2008 22:54:48 +0000 (22:54 +0000)]
bump version to 1.8.1

14 years agomake documentation aggressive
William Morgan [Tue, 24 Jun 2008 22:54:11 +0000 (22:54 +0000)]
make documentation aggressive

14 years agobugfix: short option autocreation tries (and dies on) dashes
William Morgan [Tue, 24 Jun 2008 22:12:02 +0000 (22:12 +0000)]
bugfix: short option autocreation tries (and dies on) dashes

14 years agoBump version to 1.8.
William Morgan [Tue, 17 Jun 2008 04:40:59 +0000 (04:40 +0000)]
Bump version to 1.8.

14 years agoadd sub-command support via Parser#stop_on
William Morgan [Tue, 17 Jun 2008 04:39:35 +0000 (04:39 +0000)]
add sub-command support via Parser#stop_on

15 years agomark as 1.7.2
William Morgan [Wed, 16 Jan 2008 18:44:42 +0000 (18:44 +0000)]
mark as 1.7.2

15 years agoruby 1.9-ify
William Morgan [Wed, 16 Jan 2008 18:39:56 +0000 (18:39 +0000)]
ruby 1.9-ify

15 years agoadded history for 1.7.1
William Morgan [Tue, 8 Jan 2008 05:24:28 +0000 (05:24 +0000)]
added history for 1.7.1

15 years agolots of documentation improvements
William Morgan [Sun, 6 Jan 2008 23:23:18 +0000 (23:23 +0000)]
lots of documentation improvements

15 years agoversion 1.7
William Morgan [Sun, 17 Jun 2007 20:20:25 +0000 (20:20 +0000)]
version 1.7

15 years agobugfix: wrong error message for required argument missing message (report & test...
William Morgan [Sun, 17 Jun 2007 20:18:46 +0000 (20:18 +0000)]
bugfix: wrong error message for required argument missing message (report & test thanks to neill zero)

16 years agoversion 1.6: detect whether running on the terminal and don't attempt curses magic...
William Morgan [Sun, 1 Apr 2007 22:20:43 +0000 (22:20 +0000)]
version 1.6: detect whether running on the terminal and don't attempt curses magic if not

16 years agowhoops, forgot to commit all the changes to version 1.5
William Morgan [Sun, 1 Apr 2007 22:13:02 +0000 (22:13 +0000)]
whoops, forgot to commit all the changes to version 1.5

16 years ago1.4
William Morgan [Mon, 26 Mar 2007 14:22:16 +0000 (14:22 +0000)]
1.4

16 years agoupdates for 1.3
William Morgan [Thu, 1 Feb 2007 02:19:18 +0000 (02:19 +0000)]
updates for 1.3

16 years agoupdates to 1.2, including forcible removing hoe dependency
William Morgan [Wed, 31 Jan 2007 17:18:46 +0000 (17:18 +0000)]
updates to 1.2, including forcible removing hoe dependency

16 years agominor tweak
William Morgan [Wed, 31 Jan 2007 03:37:02 +0000 (03:37 +0000)]
minor tweak

16 years agoupdates for 1.1
William Morgan [Wed, 31 Jan 2007 03:33:44 +0000 (03:33 +0000)]
updates for 1.1

16 years agowebpage updates
William Morgan [Tue, 30 Jan 2007 03:29:45 +0000 (03:29 +0000)]
webpage updates

16 years agoupdated
William Morgan [Tue, 30 Jan 2007 03:17:59 +0000 (03:17 +0000)]
updated

16 years agomore tweaks
William Morgan [Tue, 30 Jan 2007 03:17:25 +0000 (03:17 +0000)]
more tweaks

16 years agofixups
William Morgan [Tue, 30 Jan 2007 03:00:41 +0000 (03:00 +0000)]
fixups

16 years agoupdated documentation and other miscellanea
William Morgan [Tue, 30 Jan 2007 02:45:08 +0000 (02:45 +0000)]
updated documentation and other miscellanea

16 years agoremoved stuff that shouldn't be here
William Morgan [Tue, 30 Jan 2007 02:01:18 +0000 (02:01 +0000)]
removed stuff that shouldn't be here

16 years agoinitial import
William Morgan [Tue, 30 Jan 2007 02:00:10 +0000 (02:00 +0000)]
initial import