# # patch "commands.cc" # from [580074afb0d90e382e6d0af91258b6d4521888c8] # to [9e177a1bce2c921627e2fbb8873f305db813c02a] # --- commands.cc +++ commands.cc @@ -2508,11 +2508,11 @@ } else if (idx(args, 0)() == "drop") { - if (args.size() == 1) + if (args.size() == 2) { attrs.erase(path); } - else if (args.size() == 2) + else if (args.size() == 3) { attrs[path].erase(idx(args, 2)()); }