aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 \