@@ -448,9 +448,16 @@ impl MappableCommand {
448448
449449impl fmt::Debug for MappableCommand {
450450 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
451− f.debug_tuple("MappableCommand")
452− .field(&self.name())
453− .finish()
451+ match self {
452+ MappableCommand::Static { name, .. } => {
453+ f.debug_tuple("MappableCommand").field(name).finish()
454+ }
455+ MappableCommand::Typable { name, args, .. } => f
456+ .debug_tuple("MappableCommand")
457+ .field(name)
458+ .field(args)
459+ .finish(),
460+ }
454461 }
455462}
456463
@@ -505,12 +512,16 @@ impl PartialEq for MappableCommand {
505512 match (self, other) {
506513 (
507514 MappableCommand::Typable {
508− name: first_name, ..
515+ name: first_name,
516+ args: first_args,
517+ ..
509518 },
510519 MappableCommand::Typable {
511− name: second_name, ..
520+ name: second_name,
521+ args: second_args,
522+ ..
512523 },
513− ) => first_name == second_name,
524+ ) => first_name == second_name && first_args == second_args,
514525 (
515526 MappableCommand::Static {
516527 name: first_name, ..