<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@
 require 'switchboard'
 require 'optparse'
 
-command = ARGV.clone.options do |opts|
+ARGV.clone.options do |opts|
   # opts.banner = &quot;Usage: example.rb [options]&quot;
 
   command = Switchboard::Commands::Default
@@ -30,6 +30,4 @@ command = ARGV.clone.options do |opts|
   ARGV.reject! { |v| !argv.include?(v) }
 
   command
-end
-
-command.run!
+end.run!</diff>
      <filename>bin/switchboard</filename>
    </modified>
    <modified>
      <diff>@@ -5,6 +5,7 @@ module Switchboard
         description &quot;Get items from a pubsub node&quot;
 
         def self.options(opts)
+          super(opts)
           opts.on(&quot;--item-count=count&quot;, Integer, &quot;Specifies the number of items to retrieve.&quot;) { |v| OPTIONS[&quot;pubsub.items.count&quot;] = v }
         end
 </diff>
      <filename>lib/switchboard/commands/pubsub/items.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,14 +8,14 @@ module Switchboard
       end
 
       def self.options(opts)
-        opts.on(&quot;--node=node&quot;, String, &quot;Specifies the PubSub node to use.&quot;) { |v| OPTIONS[&quot;pubsub.node&quot;] = v }
-        opts.on(&quot;--oauth&quot;, &quot;Sign requests using OAuth.&quot;) { OPTIONS[&quot;oauth&quot;] = true }
-        opts.on(&quot;--oauth-consumer-key=consumer-key&quot;, String, &quot;Specifies the OAuth consumer key to use.&quot;) { |v| OPTIONS[&quot;oauth.consumer_key&quot;] = v }
-        opts.on(&quot;--oauth-consumer-secret=consumer-secret&quot;, String, &quot;Specifies the OAuth consumer secret to use.&quot;) { |v| OPTIONS[&quot;oauth.consumer_secret&quot;] = v }
-        opts.on(&quot;--oauth-token=token&quot;, String, &quot;Specifies the OAuth token to use.&quot;) { |v| OPTIONS[&quot;oauth.token&quot;] = v }
-        opts.on(&quot;--oauth-token-secret=token-secret&quot;, String, &quot;Specifies the OAuth token secret to use.&quot;) { |v| OPTIONS[&quot;oauth.token_secret&quot;] = v }
+        super(opts)
         opts.on(&quot;--node=node&quot;, String, &quot;Specifies the PubSub node to use.&quot;) { |v| OPTIONS[&quot;pubsub.node&quot;] = v }
         opts.on(&quot;--server=server&quot;, String, &quot;Specifies the PubSub server to use.&quot;) { |v| OPTIONS[&quot;pubsub.server&quot;] = v }
+        opts.on(&quot;--oauth&quot;, &quot;Sign requests using OAuth.&quot;) { OPTIONS[&quot;oauth&quot;] = true }
+        opts.on(&quot;--oauth-consumer-key=key&quot;, String, &quot;Specifies the OAuth consumer key to use.&quot;) { |v| OPTIONS[&quot;oauth.consumer_key&quot;] = v }
+        opts.on(&quot;--oauth-consumer-secret=secret&quot;, String, &quot;Specifies the OAuth consumer secret to use.&quot;) { |v| OPTIONS[&quot;oauth.consumer_secret&quot;] = v }
+        opts.on(&quot;--oauth-token =oken&quot;, String, &quot;Specifies the OAuth token to use.&quot;) { |v| OPTIONS[&quot;oauth.token&quot;] = v }
+        opts.on(&quot;--oauth-token-secret=secret&quot;, String, &quot;Specifies the OAuth token secret to use.&quot;) { |v| OPTIONS[&quot;oauth.token_secret&quot;] = v }
       end
     end
   end</diff>
      <filename>lib/switchboard/commands/pubsub/pubsub.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d500953bdf8166b1fe8df5361881569993441375</id>
    </parent>
  </parents>
  <author>
    <name>Seth Fitzsimmons</name>
    <email>seth@mojodna.net</email>
  </author>
  <url>http://github.com/mojodna/switchboard/commit/e2d4f967f614199755d6086d432e4e8d67b6aa8c</url>
  <id>e2d4f967f614199755d6086d432e4e8d67b6aa8c</id>
  <committed-date>2008-11-16T20:29:54-08:00</committed-date>
  <authored-date>2008-11-16T20:29:54-08:00</authored-date>
  <message>cleanup</message>
  <tree>d7f8b2478947c7409634a8b22163859ee78d4438</tree>
  <committer>
    <name>Seth Fitzsimmons</name>
    <email>seth@mojodna.net</email>
  </committer>
</commit>
