summaryrefslogtreecommitdiffstats
path: root/commands/pwd.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-06-07 17:32:02 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-30 20:37:40 +0800
commit8e6f45f54f32b38f67960fad65f10f9ec7abdcca (patch)
tree7b3cc1c77b6bb99cfa5e7459f3e2d79c78f38238 /commands/pwd.c
parent8aa463f785d137c68b0ae56edcb03a335a5a2b33 (diff)
downloadbarebox-8e6f45f54f32b38f67960fad65f10f9ec7abdcca.tar.gz
complete: add empty complete support
for cpuinfo, clear, dhcp, false, login, lsmod, meminfo, passwd, pwd, reginfo, reset, true, usb, version for mach-imx and mach-mxs: dump_clocks for u_serial: mycdev Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'commands/pwd.c')
-rw-r--r--commands/pwd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/pwd.c b/commands/pwd.c
index 4afe2d4..d68a509 100644
--- a/commands/pwd.c
+++ b/commands/pwd.c
@@ -21,6 +21,7 @@
*/
#include <common.h>
#include <command.h>
+#include <complete.h>
#include <fs.h>
static int do_pwd(int argc, char *argv[])
@@ -32,4 +33,5 @@ static int do_pwd(int argc, char *argv[])
BAREBOX_CMD_START(pwd)
.cmd = do_pwd,
.usage = "print working directory",
+ BAREBOX_CMD_COMPLETE(empty_complete)
BAREBOX_CMD_END