From 62fae308a3d92d987711d08f3d36b0ad753c2e18 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 10 Dec 2002 00:14:33 +0000 Subject: Realpath applet --- include/applets.h | 3 +++ include/usage.h | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'include') 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 \ -- cgit v1.2.3