X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fusage.h;h=077306bdf7733cec885a794f5480cf7cf2f50615;hb=97d86f2bb59751be52fb3ee5cdb8b06e7b3bb98f;hp=beb32fdc9097aaa101b6843a8576559c7d72582b;hpb=be65c350ae535f80ea369be5366e09f730ab7ba8;p=oweals%2Fbusybox.git diff --git a/include/usage.h b/include/usage.h index beb32fdc9..077306bdf 100644 --- a/include/usage.h +++ b/include/usage.h @@ -568,6 +568,16 @@ #else #define USAGE_FIND_MTIME(a) #endif +#ifdef CONFIG_FEATURE_FIND_NEWER + #define USAGE_FIND_NEWER(a) a +#else + #define USAGE_FIND_NEWER(a) +#endif +#ifdef CONFIG_FEATURE_FIND_INUM + #define USAGE_FIND_INUM(a) a +#else + #define USAGE_FIND_INUM(a) +#endif #define find_trivial_usage \ "[PATH...] [EXPRESSION]" @@ -583,7 +593,11 @@ ) USAGE_FIND_PERM( \ "\n\t-perm PERMS\tPermissions match any of (+NNN); all of (-NNN);\n\t\t\tor exactly (NNN)" \ ) USAGE_FIND_MTIME( \ - "\n\t-mtime TIME\tModified time is greater than (+N); less than (-N);\n\t\t\tor exactly (N) days") + "\n\t-mtime TIME\tModified time is greater than (+N); less than (-N);\n\t\t\tor exactly (N) days" \ +) USAGE_FIND_NEWER( \ + "\n\t-newer FILE\tModified time is more recent than FILE's" \ +) USAGE_FIND_INUM( \ + "\n\t-inum N\t\tFile has inode number N") #define find_example_usage \ "$ find / -name /etc/passwd\n" \ "/etc/passwd\n"