<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>examples/gamble.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,5 @@
 $:.unshift &quot;../lib&quot;
+$:.unshift &quot;lib&quot;
 require 'choice'
 
 port = 21
@@ -33,6 +34,14 @@ Choice.options do
     desc &quot;The number of connections to allow at once (default 5)&quot;
     default 5
   end
+
+  option :protocol do
+    short '-l'
+    long '--protocol=PROTOCOL'
+    desc &quot;The protocol to use (default ftp)&quot;
+    valid %w[ftp sftp]
+    default 'ftp'
+  end
       
   option :yaml_cfg do
     long '--config=FILE'
@@ -50,7 +59,7 @@ Choice.options do
   
   option :debug do
     short '-d'
-    long '--debug'
+    long '--debug[=LEVEL]'
     desc 'Turn on debugging mode'
   end  
   </diff>
      <filename>examples/ftpd.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2e2209c7322933829ab0f8c9cd4a3390cb42c004</id>
    </parent>
  </parents>
  <author>
    <name>Chris Wanstrath</name>
    <email>chris@ozmm.org</email>
  </author>
  <url>http://github.com/defunkt/choice/commit/9e1d89b46a6e8ba687cc1789a5b921b6a75df5e0</url>
  <id>9e1d89b46a6e8ba687cc1789a5b921b6a75df5e0</id>
  <committed-date>2006-07-22T00:05:23-07:00</committed-date>
  <authored-date>2006-07-22T00:05:23-07:00</authored-date>
  <message>Touch up ftpd.rb example and add gamble.rb example.



git-svn-id: http://choice.rubyforge.org/svn/trunk@46 2891bcfe-6912-0410-8cba-feaf504d3ce4</message>
  <tree>11b734e3b6ada68186a8c7bd75d3e9ef6fb251ca</tree>
  <committer>
    <name>Chris Wanstrath</name>
    <email>chris@ozmm.org</email>
  </committer>
</commit>
