summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-12-10 00:14:33 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-12-10 00:14:33 +0000
commit62fae308a3d92d987711d08f3d36b0ad753c2e18 (patch)
treef51bbc4b9c66bbcc3db041727a2b097e7bb4faac /include
parent9bf9f1edbec05edbf566c3220835440e1b18fcc8 (diff)
Realpath applet
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index d8c4b38a0..b7171f7a1 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -416,6 +416,9 @@
#ifdef CONFIG_READLINK
APPLET(readlink, readlink_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_REALPATH
+ APPLET(realpath, realpath_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_REBOOT
APPLET(reboot, reboot_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index 2e8720e94..17fd4073a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1638,6 +1638,11 @@
#define readlink_full_usage \
"Read a symbolic link."
+#define realpath_trivial_usage \
+ "pathname ..."
+#define realpath_full_usage \
+ "return the canonicalized absolute pathnames of given arguments\n\n"
+
#define reboot_trivial_usage \
""
#define reboot_full_usage \