about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-10 09:50:13 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-10 09:50:13 +0000
commitc99901cd8b985b930ffba3745382bc13af703a0a (patch)
treeed820e4637a6daa5e6fc26a2da19cdd0c3d7fd5f /bin
parenteec87ea5818dda5141b291d3cb0534a5b919c65e (diff)
downloaddtas-c99901cd8b985b930ffba3745382bc13af703a0a.tar.gz
dtas-tl: add-{tail,head} -> add{tail,head}
Shorten these commands since they're frequently used and
to make eventual tab completion easier.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dtas-tl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dtas-tl b/bin/dtas-tl
index 8e00b50..f34a83c 100755
--- a/bin/dtas-tl
+++ b/bin/dtas-tl
@@ -28,14 +28,14 @@ when "clear"
   get_track_ids(c).each do |track_id|
     puts "#{track_id} " << c.req("tl remove #{track_id}")
   end
-when "add-all"
+when "addhead"
   ARGV.shift
   ARGV.reverse.each do |path|
     path = File.expand_path(path.b)
     res = c.req(%W(tl add #{path}))
     puts "#{path} #{res}"
   end
-when "add-tail"
+when "addtail"
   ARGV.shift
   track_ids = get_track_ids(c)
   last_id = track_ids.pop