Permalink
Browse files

put comment with node name in edit template

  • Loading branch information...
fetep committed Jun 3, 2012
1 parent fb5053a commit cb11625f8cd6c2977332caf5a1b46437b187119d
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/kv/command.rb
View
@@ -284,6 +284,7 @@ def edit(args)
node_path = node.path
tmp_path = Tempfile.new("kv")
+ tmp_path.puts "# #{node_name}"
node.attrs.each do |attr, value|
tmp_path.puts "#{attr}: #{value}"
end

0 comments on commit cb11625

Please sign in to comment.