changeset 3116:2a6f5da8eb48

Updated #265: Removed -sa from usage info
author unexist
date Thu, 10 Nov 2011 21:45:37 +0100
parents a06e21f3fd4a
children 422c937d9a6d
files data/subtler/runner.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/subtler/runner.rb	Thu Nov 10 21:45:06 2011 +0100
+++ b/data/subtler/runner.rb	Thu Nov 10 21:45:37 2011 +0100
@@ -214,7 +214,8 @@
                   handle_result(obj.send(@action, arg))
                 end
               when -1
-                if [ Subtlext::View, Subtlext::Tag ].include?(@group)
+                if [ Subtlext::Sublet, Subtlext::Tag,
+                    Subtlext::View ].include?(@group)
                   # Create new object
                   ret = obj.send(@action, arg)
                   ret.save
@@ -397,7 +398,6 @@
         if group.nil? or Subtlext::Sublet == group
           puts <<-EOF
   Actions for sublets (-s, --Sublet):
-    -a, --add     => -sa PATH               Create new sublet
     -l, --list                              List all sublets
     -u, --update  => -su PATTERN            Updates value of sublet
     -D, --data    => -s PATTERN -D DATA     Set data of sublet