Skip to content

Commit

Permalink
Replace harcoded bad command name with actual bad command.
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Dec 1, 2009
1 parent 304f7be commit 4f7222d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PmTcl/commands/namespace.pm
Expand Up @@ -45,5 +45,5 @@ our sub namespace(*@args) {
}

# invalid subcommand.
error("bad option \"barf\": must be children, code, current, delete, ensemble, eval, exists, export, forget, import, inscope, origin, parent, path, qualifiers, tail, unknown, upvar, or which");
error("bad option \"$cmd\": must be children, code, current, delete, ensemble, eval, exists, export, forget, import, inscope, origin, parent, path, qualifiers, tail, unknown, upvar, or which");
}

0 comments on commit 4f7222d

Please sign in to comment.