mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:08:00 +01:00
make use of our argsParser to handle commands with zero arguments
This commit is contained in:
@@ -89,7 +89,7 @@ liberator.IO = function () //{{{
|
||||
|
||||
liberator.commands.add(["pw[d]"],
|
||||
"Print the current directory name",
|
||||
function (args)
|
||||
function ()
|
||||
{
|
||||
liberator.echo(liberator.io.getCurrentDirectory());
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user